summaryrefslogtreecommitdiff
path: root/exa
AgeCommit message (Collapse)AuthorFilesLines
2008-01-14exa: make the prototype for exaGetPixmapFirstPixel() publicBernardo Innocenti2-3/+3
This fixes a warning in amd_drv which is using it. Signed-off-by: Bernardo Innocenti <bernie@codewiz.org>
2008-01-04Fix Line drawing with CapNotLast set in PolySegment.Alan Hourihane1-0/+8
2007-11-19Merge branch 'master' into XACE-SELINUXEamon Walsh1-0/+1
Conflicts: hw/xnest/Pixmap.c include/dix.h
2007-11-17exa: set driverPriv to NULL before it might get used later with garbageBen Skeggs1-0/+1
2007-11-14Merge branch 'master' into XACE-SELINUXEamon Walsh2-8/+26
Conflicts: Xext/xace.c Xext/xace.h
2007-11-07EXA: Disable problematic optimization of dest pixmap migration by default.Michel Dänzer2-8/+26
Also add some code comments about these optimizations.
2007-11-05Merge branch 'master' into XACE-SELINUXEamon Walsh3-13/+14
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
2007-11-05EXA: Remove usage of allocaDaniel Stone1-2/+2
Replace with heap allocations.
2007-11-05EXA: Remove usage of allocaDaniel Stone1-7/+7
Replace with heap allocations.
2007-11-04Add CreatePixmap allocation hints.Aaron Plattner2-4/+5
These hints allow an acceleration architecture to optimize allocation of certain types of pixmaps, such as pixmaps that will serve as backing pixmaps for redirected windows.
2007-10-25Merge branch 'master' into XACE-SELINUXEamon Walsh5-360/+25
Conflicts: GL/glx/glxscreens.c hw/xnest/Screen.c render/glyph.c render/glyphstr.h render/render.c
2007-10-23EXA: Fix off-by-one in polyline drawing.Pierre Willenbrock1-1/+1
2007-10-19Replace calls to Glyphs screen hook with CompositeGlyphs and remove dead code.Eric Anholt2-263/+3
Not all of the DDX/miext Glyphs hook implementations have been removed, but they should be.
2007-10-19Merge branch 'master' into glyph-pixmapsEric Anholt5-9/+39
Conflicts: configure.ac
2007-10-18EXA: Skip empty glyphs.Michel Dänzer1-0/+1
2007-10-18EXA: Don't attempt to move in pixmaps that can't be accelerated.Michel Dänzer3-2/+20
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=12815 .
2007-10-17Merge branch 'master' into XACE-SELINUXEamon Walsh5-139/+186
Conflicts: os/access.c
2007-10-08EXA: dude, don't validation driver hooks twice !Dodji Seketeli1-48/+0
2007-10-04EXA: Disable 1x1 pixmap fill optimization for drivers that handle pixmaps.Michel Dänzer1-6/+5
This reverts commit 1365aeff5499a051375e43a9fcbf54733ac93929. It defeated the optimization for drivers that don't provide a CreatePixmap hook. The optimization makes no sense for drivers that do anyway, so disable it for them completely.
2007-10-03Merge Xephyr-XV/GL stuff into masterDodji Seketeli1-0/+48
2007-10-03exa: direct access to the pixmap sys ptr is bad if the pixmap isn't mappedDave Airlie1-3/+5
2007-10-03exa: add new flags to denote driver handles all pixmap migration/hidingDave Airlie3-4/+13
2007-10-03exa: make sure we set fb_ptr to NULLDave Airlie1-2/+3
2007-10-02Merge branch 'glyph-pixmaps'Eric Anholt2-99/+5
Conflicts: configure.ac exa/exa_render.c
2007-10-02Add basic Exa driver entry point validation.Dodji Seketeli1-0/+48
In exaDriverInit(), quickly check if the programmer forgot to set some mandadory driver hooks, in that case display a meaningful error message.
2007-10-02exa: increase minor version number for pixmap allocation hooksDave Airlie1-1/+1
2007-10-02exa: only setup offscreen allocator if driver doesn't provide CreatePixmapKristian Høgsberg1-27/+35
2007-10-02exa: add hooks for drivers to take over pixmap allocationDave Airlie2-27/+91
This adds hooks for the driver to access Create/DestroyPixmap and ModifyPixmapHe ader. It allocates a 0 sized pixmap using fb and calls the driver routine to do work of allocating the actual memory. ModifyPixmapHeader is mainly required for hooking the screen pixmap which isn't create by normal methods
2007-10-02exa: add a pixmap private pointer for drivers to retrieve.Dave Airlie3-0/+15
2007-09-27EXA: Added back the maxPitchPixels initialization code.Tilman Sauerbeck1-0/+15
This doesn't add real value yet, but it will be useful once I add code that splits large render operations into smaller parts if necessary.
2007-09-27EXA: Remove bogus pitch checks.Michel Dänzer1-34/+0
exaCreatePixmap should handle all cases correctly.
2007-09-27EXA: Punt for all fallbacks in exaFillRegion*.Michel Dänzer1-35/+13
Now that PaintWindow is gone, all callers already handle fallbacks.
2007-09-27EXA: Make sure tile offsets passed to drivers are never negative.Michel Dänzer1-2/+5
Thanks to Björn Steinbrink for pointing out the problem on IRC.
2007-09-27EXA: Tile offscreen pixmap coordinate offsets are always 0.Michel Dänzer1-11/+5
2007-09-27EXA: Remove some clearly bogus code from exaCopyNtoN.Michel Dänzer1-8/+0
Not sure what I was thinking when I wrote this... it would cause the box coordinates to be off for exaCopyNtoNTwoDir or fallbacks. Thanks to Tilman Sauerbeck for pointing out the problem on IRC and testing the fix.
2007-09-27EXA: Punt on fallback case not handled correctly in exaFillRegionTiled.Michel Dänzer1-1/+2
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=12520 .
2007-09-26Merge branch 'master' into XACE-SELINUXEamon Walsh5-43/+146
Conflicts: dix/devices.c
2007-09-26EXA: Removed duplicated exaGetDrawablePixmap() calls.Tilman Sauerbeck1-3/+2
2007-09-25EXA: Added pitch limitations.Tilman Sauerbeck5-33/+137
Drivers can now specify the max pitches that the accelerator supports.
2007-09-22EXA: Check ABI compatibility earlier.Tilman Sauerbeck1-11/+11
If the driver isn't compatible to the server, all bets are off anyway wrt the contents of the fields that we're validating, which can lead to bogus error messages.
2007-09-19Merge branch 'master' into XACE-SELINUXEamon Walsh6-781/+958
Conflicts: afb/afbpntwin.c afb/afbscrinit.c afb/afbwindow.c cfb/cfb.h cfb/cfballpriv.c cfb/cfbscrinit.c cfb/cfbwindow.c configure.ac fb/wfbrename.h hw/xfree86/xf4bpp/ppcIO.c hw/xfree86/xf4bpp/ppcPntWin.c hw/xfree86/xf4bpp/ppcWindow.c hw/xfree86/xf8_32bpp/cfbscrinit.c mfb/mfb.h mfb/mfbpntwin.c mfb/mfbscrinit.c mfb/mfbwindow.c mi/miexpose.c Note: conflicts caused by devPrivates rework vs. paintwindow changes.
2007-09-17EXA: Make sure driver hooks get correct offscreen offsets from exaCopyDirty.Michel Dänzer1-4/+4
This should ensure the driver UploadTo/DownloadFromScreen hooks can always work as intended.
2007-09-17EXA: Don't crash in ExaCheckPolyArc.Alan Hourihane1-0/+7
See https://bugs.freedesktop.org/show_bug.cgi?id=12286 .
2007-09-17EXA: Don't crash in exaGetImage when swapped out.Michel Dänzer1-3/+3
2007-09-17EXA: Fixed compiler warnings.Tilman Sauerbeck1-2/+2
2007-09-17EXA: Added missing exaPrepare/FinishAccess calls in ExaCheckPushPixels.Tilman Sauerbeck1-0/+2
2007-09-13Remove the PaintWindow optimization.Eric Anholt4-81/+0
This was an attempt to avoid scratch gc creation and validation for paintwin because that was expensive. This is not the case in current servers, and the danger of failure to implement it correctly (as seen in all previous implementations) is high enough to justify removing it. No performance difference detected with x11perf -create -move -resize -circulate on Xvfb. Leave the screen hooks for PaintWindow* in for now to avoid ABI change.
2007-09-07EXA: Exclude bits that will be overwritten from migration in exaCopyNtoN.Michel Dänzer1-12/+47
Also plug a region leak in exaPolyFillRect.
2007-09-07EXA: exaFillRegion{Solid,Tiled} improvements.Michel Dänzer1-19/+30
Use region to exclude bits that will be overwritten from migration. Also make exaFillRegionSolid use the same logic as exaFillRegionTiled.
2007-09-07EXA: Use exaShmPutImage for pushing glyphs to scratch pixmap in exaGlyphs.Michel Dänzer3-1/+15