Always set the FAST_PATH_NO_ALPHA_MAP flag for non-BITS images
authorSøren Sandmann Pedersen <ssp@redhat.com>
Mon, 20 May 2013 13:44:05 +0000 (09:44 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Wed, 22 May 2013 13:43:12 +0000 (09:43 -0400)
commit3b96ee4e77ff01217f7fefc4718babbf68a13147
tree43d0d7b3c923e93f6fc12866ec6d31fea8954081
parent52ff5f0cd992e0384fa2babcb25780c3182548e6
Always set the FAST_PATH_NO_ALPHA_MAP flag for non-BITS images

We only support alpha maps for BITS images, so it's always to ignore
the alpha map for non-BITS image. This makes it possible get rid of
the check for SOLID images since it will now be subsumed by the check
for FAST_PATH_NO_ALPHA_MAP.

Opaque masks are reduced to NULL images in pixman.c, and those can
also safely be treated as not having an alpha map, so set the
FAST_PATH_NO_ALPHA_MAP bit for those as well.
pixman/pixman-image.c
pixman/pixman-noop.c
pixman/pixman.c