[cairo-commit] libpixman/src ictrap.c,1.22,1.23
Carl Worth
commit at pdx.freedesktop.org
Fri Mar 4 07:31:51 PST 2005
Committed by: cworth
Update of /cvs/cairo/libpixman/src
In directory gabe:/tmp/cvs-serv22692/src
Modified Files:
ictrap.c
Log Message:
* src/ictrap.c (pixman_composite_trapezoids): Add comment from
xserver's mitrap.c.
Index: ictrap.c
===================================================================
RCS file: /cvs/cairo/libpixman/src/ictrap.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- ictrap.c 4 Mar 2005 02:02:23 -0000 1.22
+++ ictrap.c 4 Mar 2005 15:31:49 -0000 1.23
@@ -125,13 +125,16 @@
if (ntraps == 0)
return;
+ /*
+ * Check for solid alpha add
+ */
if (op == PIXMAN_OPERATOR_ADD && miIsSolidAlpha (src))
{
for (; ntraps; ntraps--, traps++)
fbRasterizeTrapezoid (dst, traps, 0, 0);
return;
}
-
+
xDst = traps[0].left.p1.x >> 16;
yDst = traps[0].left.p1.y >> 16;
More information about the cairo-commit
mailing list