Move some of the FAST_PATH_COVERS_CLIP computation to pixman-image.c
authorSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 16 Sep 2010 12:35:05 +0000 (08:35 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Tue, 21 Sep 2010 12:31:09 +0000 (08:31 -0400)
commitc97881fe3c3a0af78cf5953d2c135654440b0269
treeb8beeddef9eb36fdb578bf31c11a57aabb4ff9cc
parent3411f9399c3ab6d642f350ea8e4c355f719d01d9
Move some of the FAST_PATH_COVERS_CLIP computation to pixman-image.c

When an image is solid or repeating, the FAST_PATH_COVERS_CLIP flag
can be set in compute_image_info().

Also the code that turned this flag off in pixman.c was not correct;
it didn't take transformations into account. With this patch, pixman.c
doesn't set the flag by default, but instead relies on the call to
compute_samples_extents() to set it when possible.
pixman/pixman-image.c
pixman/pixman.c