general: Support component alpha for all image types
authorSøren Sandmann <ssp@redhat.com>
Sun, 24 Nov 2013 01:30:33 +0000 (20:30 -0500)
committerSøren Sandmann <ssp@redhat.com>
Sun, 24 Nov 2013 01:30:33 +0000 (20:30 -0500)
commit9ba3a34797399b286dbfe21c7b213a7547abf577
treeab3b6dd65cc119e1124ae76f13ca8cad3bd1c041
parentf473fd1e7553a4e92a0d72bea360f05d005c9a88
general: Support component alpha for all image types

Currently, if you attempt to use component alpha on source images or
images without RGB channels, Pixman will silently just use unified
alpha instead. This patch makes such images supported for component
alpha.

There is no particularly compelling usecase at the moment, but this
patch does get rid of a bit of special-case code both in
pixman-general.c and in test/composite.c.
pixman/pixman-general.c
test/blitters-test.c
test/composite.c