Add direct-write optimization back
authorSøren Sandmann Pedersen <ssp@redhat.com>
Fri, 10 Dec 2010 21:55:55 +0000 (16:55 -0500)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 18 Jan 2011 17:42:26 +0000 (12:42 -0500)
commit3e635d6491d883304662aff3c72558dc9065f1f1
tree74b0db74921dc11cd09318f7a99700da04dc1ab4
parent0f1a5c4a27d34dcf4525dc38fcb48c14f653e828
Add direct-write optimization back

Introduce a new ITER_LOCALIZED_ALPHA flag that indicates that the
alpha value computed is used only for the alpha channel of the output;
it doesn't affect the RGB channels.

Then in pixman-bits-image.c, if a destination is either a8r8g8b8 or
x8r8g8b8 with localized alpha, the iterator will return a pointer
directly into the image.
pixman/pixman-bits-image.c
pixman/pixman-general.c
pixman/pixman-private.h