diff options
author | Eric Anholt <eric@anholt.net> | 2009-02-10 18:23:35 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-02-10 18:23:35 -0800 |
commit | 5009127de7d9527ae329d1c2fbc7283648bde2e6 (patch) | |
tree | 314798677f3adefb4eec8654c35d7b9f989684d5 /uxa | |
parent | b53977f4c53c7c8f562f909e985b8d5a7b2526f3 (diff) |
uxa: Fix driver against fbDoCopy -> miDoCopy change in the server.
Diffstat (limited to 'uxa')
-rw-r--r-- | uxa/uxa-accel.c | 8 | ||||
-rw-r--r-- | uxa/uxa-priv.h | 7 |
2 files changed, 10 insertions, 5 deletions
diff --git a/uxa/uxa-accel.c b/uxa/uxa-accel.c index 785855cc..1b0af9c4 100644 --- a/uxa/uxa-accel.c +++ b/uxa/uxa-accel.c @@ -493,9 +493,9 @@ uxa_copy_area(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, GCPtr pGC, srcx, srcy, width, height, dstx, dsty); } - return fbDoCopy (pSrcDrawable, pDstDrawable, pGC, - srcx, srcy, width, height, - dstx, dsty, uxa_copy_n_to_n, 0, NULL); + return miDoCopy (pSrcDrawable, pDstDrawable, pGC, + srcx, srcy, width, height, + dstx, dsty, uxa_copy_n_to_n, 0, NULL); } static void @@ -841,7 +841,7 @@ uxa_copy_window(WindowPtr pWin, DDXPointRec ptOldOrg, RegionPtr prgnSrc) -pPixmap->screen_x, -pPixmap->screen_y); #endif - fbCopyRegion (&pPixmap->drawable, &pPixmap->drawable, + miCopyRegion (&pPixmap->drawable, &pPixmap->drawable, NULL, &rgnDst, dx, dy, uxa_copy_n_to_n, 0, NULL); diff --git a/uxa/uxa-priv.h b/uxa/uxa-priv.h index 463749a7..ae3fb2a9 100644 --- a/uxa/uxa-priv.h +++ b/uxa/uxa-priv.h @@ -61,7 +61,12 @@ #endif #include "damage.h" -#define DEBUG_TRACE_FALL 0 +/* 1.6 and earlier server compat */ +#ifndef miGetCompositeClip +#define miCopyRegion fbCopyRegion +#define miDoCopy fbDoCopy +#endif + #define DEBUG_MIGRATE 0 #define DEBUG_PIXMAP 0 #define DEBUG_OFFSCREEN 0 |