summaryrefslogtreecommitdiff
path: root/src/savage_exa.c
AgeCommit message (Collapse)Author
2012-06-06savage: port to new compat APIDave Airlie
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-01-17Untangle XF86DRI from the driver-specific DRI definePeter Hutterer
XF86DRI is defined by xorg-server.h, so --disable-dri in the driver itself does exactly nothing other than not fill in the CFLAGS and thus stop the driver from compiling. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2011-01-25savage: Drop unused variables and functionsTormod Volden
Silence -Wall warnings. The functions are just #if'ed out, to be left for inspiration.
2011-01-25savage: Add casts to silence build warningsTormod Volden
savage_exa.c: In function ‘SavageUploadToScreen’: savage_exa.c:545: warning: passing argument 1 of ‘memcpy’ discards qualifiers from pointer target type /usr/include/bits/string3.h:49: note: expected ‘void * restrict’ but argument is of type ‘volatile CARD32 *’ savage_video.c: In function ‘SavagePutImage’: savage_video.c:2007: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘drmSize’ savage_video.c:2007: warning: format ‘%ld’ expects type ‘long int’, but argument 5 has type ‘int’
2010-04-26Fix builds when XF86DRI is undefinedAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2009-05-27Do not use XAAGetCopyROP outside of XAA-specific codeAlex Villacís Lasso
The DRI code attempts to use XAAGetCopyROP without checking whether XAA or EXA is in effect. This results in the server crashing with an undefined-symbol error when enabling EXA, then starting glxgears under GNOME/Metacity and attempting to drag the glxgears window. The EXA code happens to have a functional duplicate of the required code under the name SavageGetCopyROP(). This patch moves the code to savage_accel.c where it is now shared between EXA and the DRI code. It is disturbing that this has not been caught before.
2009-05-27Implement use of Mastered Image Transfer through AGP for UploadToScreen EXA ↵Alex Villacís Lasso
acceleration. Under some conditions (documented in this patch), the UploadToScreen implementation can make use of the AGP scratch buffer used for XVideo as a convenient source for Mastered Image Transfer. The previous implementation is still available as a fallback for when AGP acceleration is not possible. This requires the AGP scratch buffer to be persistent, so the XVideo code is also made aware of an existing DRM mapping for the scratch buffer.
2009-01-16EXA: UTS OptimizationAlex Villacís Lasso
use one memcpy per scanline instead of a conditional inside a loop for every dword
2008-11-06Fix EXA CopyAlex Villacís Lasso
patch from Alex Villacís Lasso with minor updates from me
2008-04-10EXA upload to screen must honor pitch of the source dataAlex Villacís Lasso
2007-04-02final odds and ends for exaAlex Deucher
I still get blue for solids that should be grey for certain things (firefox status and navigation bars, certain mouse overs, etc.)
2007-03-21Get Solid() working againAlex Deucher
You have to send color EVERY time.
2007-03-06small exa fix ups, remove an errant commentAlex Deucher
2006-09-19minor exa updatesAlex Deucher
2006-05-10- add AccelMethod to savage.manAlex Deucher
- fix bug 6847 - add memcpy based DFS
2006-04-30- Add exa support (solid, copy, UTS)Alex Deucher