xf86-video-intel: uxa/uxa-render.c
Chris Wilson
ickle at kemper.freedesktop.org
Thu Feb 3 01:43:46 PST 2011
uxa/uxa-render.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit da990536eca09c6de74627541cd56ecfad925eda
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Thu Feb 3 09:41:48 2011 +0000
uxa: Undo damage translation before appending
The region is used to paint onto the backing pixmap (and thus
translated) prior to being passed to the damage layer (wrt to the
drawable). So the local translation needs to be undone first.
Identified by Christopher James Halse Rogers.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33650
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c
index cf8b8ea..02bfa03 100644
--- a/uxa/uxa-render.c
+++ b/uxa/uxa-render.c
@@ -1090,6 +1090,7 @@ try_solid:
/* XXX xserver-1.8: CompositeRects is not tracked by Damage, so we must
* manually append the damaged regions ourselves.
*/
+ pixman_region_translate(®ion, -dst_x, -dst_y);
DamageRegionAppend(dst->pDrawable, ®ion);
pixman_region_fini(®ion);
More information about the xorg-commit
mailing list