diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-25 09:44:21 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-25 09:44:21 +0000 |
commit | 7ad2d3b695115439f685a12d43ab240cf5e18ef7 (patch) | |
tree | ea86e563c3201576033a5e583a894ce6dde67350 | |
parent | 394ad51c421f41e4bc6545fcee10b1757cb5f518 (diff) |
sna/gen2: Wire up NO_COMPOSITE for debugging
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/gen2_render.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c index 98a02cb4..e97e2d70 100644 --- a/src/sna/gen2_render.c +++ b/src/sna/gen2_render.c @@ -1258,6 +1258,17 @@ gen2_render_composite(struct sna *sna, return FALSE; } +#if NO_COMPOSITE + if (mask) + return FALSE; + + return sna_blt_composite(sna, op, + src, dst, + src_x, src_y, + dst_x, dst_y, + width, height, tmp); +#endif + /* Try to use the BLT engine unless it implies a * 3D -> 2D context switch. */ |