Skip fetching pixels when possible
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sat, 11 Dec 2010 13:10:04 +0000 (08:10 -0500)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 18 Jan 2011 17:42:26 +0000 (12:42 -0500)
commitfffeda703e40ced90ec5ad6d6cd37a44294d3fe4
treeab30f84269072f8104468d01fab86991c697bb89
parent3e635d6491d883304662aff3c72558dc9065f1f1
Skip fetching pixels when possible

Add two new iterator flags, ITER_IGNORE_ALPHA and ITER_IGNORE_RGB that
are set when the alpha and rgb values are not needed. If both are set,
then we can skip fetching entirely and just use
_pixman_iter_get_scanline_noop.
pixman/pixman-bits-image.c
pixman/pixman-general.c
pixman/pixman-implementation.c
pixman/pixman-private.h