summaryrefslogtreecommitdiff
path: root/src/sna/gen7_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-04-15 16:31:08 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-04-15 16:34:06 +0100
commitb0472af1f3c6832838b0cfea38e261c908afd04e (patch)
tree296946f22af23bbb3a4b901f734269bb2c1dfc0b /src/sna/gen7_render.c
parent49e72bd4e59085aa940e5af63381c5394ee670ad (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/gen7_render.c')
-rw-r--r--src/sna/gen7_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 334958ad..8d32c3e1 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -2468,7 +2468,7 @@ gen7_render_composite(struct sna *sna,
tmp->op = op;
if (!gen7_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))
goto fallback;
switch (gen7_composite_picture(sna, src, &tmp->src,