pixman: Branch 'master'

Søren Sandmann Pedersen sandmann at kemper.freedesktop.org
Fri Jul 10 15:23:25 PDT 2009


 pixman/pixman-utils.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 5088ca8d97c9c918746c3e261a31b6edab6c964b
Author: Søren Sandmann Pedersen <sandmann at redhat.com>
Date:   Fri Jul 10 18:18:00 2009 -0400

    Only apply the workaround to source images when out_of_bounds_workaround is set.
    
    Pointed out by Siarhei Siamashka.

diff --git a/pixman/pixman-utils.c b/pixman/pixman-utils.c
index 6deb0d2..c7b97ef 100644
--- a/pixman/pixman-utils.c
+++ b/pixman/pixman-utils.c
@@ -613,6 +613,9 @@ image_covers (pixman_image_t *image, pixman_box32_t *extents, int x, int y)
 static pixman_bool_t
 source_image_needs_out_of_bounds_workaround (pixman_image_t *image)
 {
+    if (!out_of_bounds_workaround)
+	return FALSE;
+    
     if (image->common.clip_sources		&&
 	!image->common.client_clip		&&
 	image->common.have_clip_region)


More information about the xorg-commit mailing list