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/gen7_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/gen7_render.c')
-rw-r--r-- | src/sna/gen7_render.c | 2 |
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, |