Pass the full image flags to iterators
authorSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 24 May 2012 07:00:38 +0000 (03:00 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Wed, 30 May 2012 08:34:29 +0000 (04:34 -0400)
commitc1065a9cb4ab1f5847b2373847c65d8ea68975f1
tree35639a44fa01b08d52a5ab912ff43caf36c70b63
parentda6193b1fcc1dfab27f4c36917864f2f2c41cf3e
Pass the full image flags to iterators

When pixman_image_composite32() is called some flags are computed that
indicate various things about the composite operation that can't be
deduced from the image flags themselves. These additional flags are
not currently available to iterators. All they can do is read the
image flags in image->common.flags.

Fix that by passing the info->{src, mask, dest}_flags on to the
iterator initialization and store the flags in the iter struct as
"image_flags". At the same time rename the *iterator* flags variable
to "iter_flags" to avoid confusion.
12 files changed:
pixman/pixman-bits-image.c
pixman/pixman-conical-gradient.c
pixman/pixman-general.c
pixman/pixman-image.c
pixman/pixman-implementation.c
pixman/pixman-linear-gradient.c
pixman/pixman-mmx.c
pixman/pixman-noop.c
pixman/pixman-private.h
pixman/pixman-radial-gradient.c
pixman/pixman-solid-fill.c
pixman/pixman-sse2.c