pixman: Branch 'master'

Carl Worth cworth at kemper.freedesktop.org
Wed Sep 5 14:48:43 PDT 2007


 pixman/pixman-pict.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
diff-tree 6b96b62ca419ac414d5715a4ba9f30664e510fcd (from 8ff7213f39edc1b2b8b60d6b0cc5d5f14ca1928d)
Author: Carl Worth <cworth at cworth.org>
Date:   Tue Sep 4 17:24:04 2007 -0700

    Don't copy unused bits to an alpha channel
    
    This bug was identified by cairo's rgb24-ignore-alpha test which
    blends RGB24 over ARGB32 and notices that "alpha" values are
    making it from the source to the destination.

diff --git a/pixman/pixman-pict.c b/pixman/pixman-pict.c
index b8b7b76..c7d73fc 100644
--- a/pixman/pixman-pict.c
+++ b/pixman/pixman-pict.c
@@ -1778,7 +1778,6 @@ pixman_image_composite (pixman_op_t     
 		    break;
 		case PIXMAN_x8r8g8b8:
 		    switch (pDst->bits.format) {
-		    case PIXMAN_a8r8g8b8:
 		    case PIXMAN_x8r8g8b8:
 #ifdef USE_MMX
 			if (pixman_have_mmx())
@@ -1790,7 +1789,6 @@ pixman_image_composite (pixman_op_t     
 		    }
 		case PIXMAN_x8b8g8r8:
 		    switch (pDst->bits.format) {
-		    case PIXMAN_a8b8g8r8:
 		    case PIXMAN_x8b8g8r8:
 #ifdef USE_MMX
 			if (pixman_have_mmx())


More information about the xorg-commit mailing list