Move workaround logic to pixman-bits-image.c.
authorSøren Sandmann Pedersen <sandmann@redhat.com>
Sat, 11 Jul 2009 07:25:25 +0000 (03:25 -0400)
committerSøren Sandmann Pedersen <sandmann@redhat.com>
Sun, 12 Jul 2009 07:06:13 +0000 (03:06 -0400)
commit2af5f64e938f0d3b81f3f014441cdff650fe5457
treeb8713e9b4810b34e026eee623f28582e2b3b6287
parent5088ca8d97c9c918746c3e261a31b6edab6c964b
Move workaround logic to pixman-bits-image.c.

Instead of computing whether a workaround is needed on every call to
_pixman_run_fast_path(), just cache this information in the image.

Also, when workarounds are needed, clip against the source geometry to
prevent out of bound reads.
pixman/pixman-bits-image.c
pixman/pixman-image.c
pixman/pixman-private.h
pixman/pixman-utils.c