diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-31 12:08:52 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-31 12:08:52 +0000 |
commit | 839542d219bd919c99398d514c1d194d18b78eff (patch) | |
tree | 1f965060be21288cd2997b7e46edca16e4727206 /src/sna | |
parent | e329e04b10c88afb40f2fd8fdad5b24b9f7dfc15 (diff) |
sna/traps: Allow inplace compositing for non-GPU buffers and rectilinear traps
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna')
-rw-r--r-- | src/sna/sna_trapezoids.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/sna_trapezoids.c b/src/sna/sna_trapezoids.c index 7796650c..64c23d4c 100644 --- a/src/sna/sna_trapezoids.c +++ b/src/sna/sna_trapezoids.c @@ -3680,7 +3680,8 @@ composite_unaligned_boxes_inplace(CARD8 op, PicturePtr dst, int n, xTrapezoid *t, bool force_fallback) { - if (!force_fallback) { + if (!force_fallback && + (is_gpu(dst->pDrawable) || picture_is_gpu(src))) { DBG(("%s: fallback -- not forcing\n", __FUNCTION__)); return false; } |