summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-14 15:42:19 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-14 15:42:19 +0100
commitd30dc59651f156e9d4572141e2c54af89d007a37 (patch)
tree8e61245c7dfe0c638157904beb99890ddebaa52f /src
parent9f05b0c03b1fdab474b436431c430028fca1937e (diff)
sna/gen7: Only fallback to BLT for a redirected target
As we can always use a partial surface for the source. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/gen7_render.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 9e7683eb..f393bf6c 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -3369,8 +3369,7 @@ gen7_render_copy_boxes(struct sna *sna, uint8_t alu,
box, n))
return true;
- if ((too_large(dst->drawable.width, dst->drawable.height) ||
- too_large(src->drawable.width, src->drawable.height)) &&
+ if (too_large(dst->drawable.width, dst->drawable.height) ||
sna_blt_compare_depth(&src->drawable, &dst->drawable)) {
BoxRec extents = box[0];
int i;