diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-04-15 16:31:08 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-04-15 16:34:06 +0100 |
commit | b0472af1f3c6832838b0cfea38e261c908afd04e (patch) | |
tree | 296946f22af23bbb3a4b901f734269bb2c1dfc0b /src/sna/gen5_render.c | |
parent | 49e72bd4e59085aa940e5af63381c5394ee670ad (diff) |
sna: Mark partial composite operations upfront
Rather than guess in the backend when we are going to be called for
multiple boxes, rely on the frontend declaring it correctly.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen5_render.c')
-rw-r--r-- | src/sna/gen5_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen5_render.c b/src/sna/gen5_render.c index 51a9714f..67b0527a 100644 --- a/src/sna/gen5_render.c +++ b/src/sna/gen5_render.c @@ -1905,7 +1905,7 @@ gen5_render_composite(struct sna *sna, if (!gen5_composite_set_target(sna, tmp, dst, dst_x, dst_y, width, height, - flags & COMPOSITE_PARTIAL || op > PictOpSrc || dst->pCompositeClip->data)) { + flags & COMPOSITE_PARTIAL || op > PictOpSrc)) { DBG(("%s: failed to set composite target\n", __FUNCTION__)); goto fallback; } |