From b0472af1f3c6832838b0cfea38e261c908afd04e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 15 Apr 2014 16:31:08 +0100 Subject: 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 --- src/sna/gen7_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sna/gen7_render.c') 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, -- cgit v1.2.3