summaryrefslogtreecommitdiff
path: root/uxa
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-12-07 12:27:29 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-12-07 12:27:29 +0000
commit1ba983034b3a70fb541dc359189c020ee497c634 (patch)
tree53f5b2b578cc9cec70a13c14fe50a3c5c7df9154 /uxa
parent00c204a7b2df7a6b501db9b57603534a45ecafa9 (diff)
uxa: Emit the damage after the render for the workaround in uxa_solid_rects
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa')
-rw-r--r--uxa/uxa-render.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c
index a6b539d1..cf8b8ea6 100644
--- a/uxa/uxa-render.c
+++ b/uxa/uxa-render.c
@@ -998,11 +998,6 @@ uxa_solid_rects (CARD8 op,
return;
}
- /* XXX xserver-1.8: CompositeRects is not tracked by Damage, so we must
- * manually append the damaged regions ourselves.
- */
- DamageRegionAppend(dst->pDrawable, &region);
-
pixman_region_translate(&region, dst_x, dst_y);
boxes = pixman_region_rectangles(&region, &num_boxes);
extents = pixman_region_extents (&region);
@@ -1092,6 +1087,11 @@ try_solid:
FreePicture(src, 0);
}
+ /* XXX xserver-1.8: CompositeRects is not tracked by Damage, so we must
+ * manually append the damaged regions ourselves.
+ */
+ DamageRegionAppend(dst->pDrawable, &region);
+
pixman_region_fini(&region);
return;