diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-07-05 08:40:20 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2011-12-14 18:30:27 -0800 |
commit | f41441b66e94e72919c3c02080ffaf7a69b4a2f6 (patch) | |
tree | 5250aa45ddfa9b4fee7cccab260670de37992731 | |
parent | 6983197c8f1a3cc0ba64133af71f4acfe2a82baf (diff) |
XAA: Unconditionally SYNC_CHECK in XAACopy{Area,Plane}Fallback.
These are the only fallbacks that were ever choosing not to sync. This
patch makes them consistent with not only the other fallbacks, but also
with the pixmap fallbacks as of Luc Verhaegen's commit in 2008,
59f9fb4b8c031df69b3592a26b77e744ff4a556e.
Signed-off-by: Jamey Sharp <jamey@minilop.net>
-rw-r--r-- | hw/xfree86/xaa/xaaFallback.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/hw/xfree86/xaa/xaaFallback.c b/hw/xfree86/xaa/xaaFallback.c index deeadbfb5..4a1b1ddc5 100644 --- a/hw/xfree86/xaa/xaaFallback.c +++ b/hw/xfree86/xaa/xaaFallback.c @@ -78,10 +78,7 @@ XAACopyAreaFallback( RegionPtr ret; XAA_GC_OP_PROLOGUE(pGC); - if((pSrc->type == DRAWABLE_WINDOW) || (pDst->type == DRAWABLE_WINDOW) || - IS_OFFSCREEN_PIXMAP(pSrc) || IS_OFFSCREEN_PIXMAP(pDst)) { - SYNC_CHECK(pGC); - } + SYNC_CHECK(pGC); ret = (*pGC->ops->CopyArea)(pSrc, pDst, pGC, srcx, srcy, width, height, dstx, dsty); XAA_GC_OP_EPILOGUE(pGC); @@ -101,10 +98,7 @@ XAACopyPlaneFallback( RegionPtr ret; XAA_GC_OP_PROLOGUE(pGC); - if((pSrc->type == DRAWABLE_WINDOW) || (pDst->type == DRAWABLE_WINDOW) || - IS_OFFSCREEN_PIXMAP(pSrc) || IS_OFFSCREEN_PIXMAP(pDst)) { - SYNC_CHECK(pGC); - } + SYNC_CHECK(pGC); ret = (*pGC->ops->CopyPlane)(pSrc, pDst, pGC, srcx, srcy, width, height, dstx, dsty, bitPlane); XAA_GC_OP_EPILOGUE(pGC); |