diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-07 12:27:29 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-12-07 12:27:29 +0000 |
commit | 1ba983034b3a70fb541dc359189c020ee497c634 (patch) | |
tree | 53f5b2b578cc9cec70a13c14fe50a3c5c7df9154 | |
parent | 00c204a7b2df7a6b501db9b57603534a45ecafa9 (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>
-rw-r--r-- | uxa/uxa-render.c | 10 |
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, ®ion); - pixman_region_translate(®ion, dst_x, dst_y); boxes = pixman_region_rectangles(®ion, &num_boxes); extents = pixman_region_extents (®ion); @@ -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, ®ion); + pixman_region_fini(®ion); return; |