[PATCH] EXA: Use correct coordinate system for calculating Composite fallback region.
Michel Dänzer
michel at daenzer.net
Thu Dec 3 10:08:41 PST 2009
From: Michel Dänzer <daenzer at vmware.com>
Fixes incorrectly skipped rendering of some Composite operations to windows.
Signed-off-by: Michel Dänzer <daenzer at vmware.com>
---
exa/exa_unaccel.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/exa/exa_unaccel.c b/exa/exa_unaccel.c
index 1bc3eac..d349fae 100644
--- a/exa/exa_unaccel.c
+++ b/exa/exa_unaccel.c
@@ -424,7 +424,9 @@ ExaCheckComposite (CARD8 op,
PixmapPtr pDstPix;
if (!miComputeCompositeRegion (®ion, pSrc, pMask, pDst,
- xSrc, ySrc, xMask, yMask, xDst, yDst,
+ xSrc, ySrc, xMask, yMask,
+ xDst + pDst->pDrawable->x,
+ yDst + pDst->pDrawable->y,
width, height))
goto skip;
--
1.6.4.3
More information about the xorg-devel
mailing list