Eliminate the NEED_SOLID_MASK flag
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Sat, 12 Sep 2009 05:35:56 +0000 (01:35 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Tue, 17 Nov 2009 05:42:21 +0000 (00:42 -0500)
commit4686d1f53b09b5dd12df6f10f8c0403b2a1e2427
tree09a9c5c5d1b428af54d90707b80d056afda647d0
parent2ef8b394d72d6c13f96347626b09613f805d9f8c
Eliminate the NEED_SOLID_MASK flag

This flag was used to indicate that the mask was solid while still
allowing a specific format to be required. However, there is not
actually any need for this because the fast paths all used
_pixman_image_get_solid() which already allowed arbitrary formats.

The one thing that had to be dealt with was component alpha. In
addition to interpreting the presence of the NEED_COMPONENT_ALPHA
flag, we now also interprete the *absence* of this flag as a
requirement that the mask does *not* have component alpha.

Siarhei Siamashka pointed out that the first version of this commit
had a bug, in which a NEED_SOLID_MASK was accidentally not turned into
a PIXMAN_solid in the ARM NEON implementation.
pixman/pixman-arm-neon.c
pixman/pixman-arm-simd.c
pixman/pixman-mmx.c
pixman/pixman-private.h
pixman/pixman-sse2.c
pixman/pixman-utils.c