[cairo] Broken mask transformations with pixman

Jeff Muizelaar jeff at infidigm.net
Wed Sep 19 15:52:24 PDT 2007


On Wed, Sep 19, 2007 at 04:46:15PM -0400, Jeff Muizelaar wrote:
> I've attached a patch to pixman and a test case for cairo.

Here's a patch that actually compiles.

-Jeff
-------------- next part --------------
diff --git a/pixman/pixman-pict.c b/pixman/pixman-pict.c
index 3bc5267..d6564ff 100644
--- a/pixman/pixman-pict.c
+++ b/pixman/pixman-pict.c
@@ -1429,6 +1429,7 @@ pixman_image_composite (pixman_op_t      op,
     {
 	maskRepeat = pMask->common.repeat == PIXMAN_REPEAT_NORMAL;
 
+	maskTransform = pMask->common.transform != 0;
 	if (pMask->common.filter == PIXMAN_FILTER_CONVOLUTION)
 	    maskTransform = TRUE;
 


More information about the cairo mailing list