summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-10-17 23:08:32 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-10-18 10:29:33 +0100
commitadef3a56cde1210554dc8327baa37c36fc5f18e3 (patch)
tree31fc27396984c0c64819c3087e66b480408e7a7a
parentf40e6ab50b264ef7eb7750f72ab7418c0d3dc9c1 (diff)
sna/gen3: Prefer to use the BLT where possible for composite ops
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen3_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c
index 4dd027fb..90797d70 100644
--- a/src/sna/gen3_render.c
+++ b/src/sna/gen3_render.c
@@ -2127,7 +2127,7 @@ try_blt(struct sna *sna,
PicturePtr source,
int width, int height)
{
- if (sna->kgem.mode == KGEM_BLT) {
+ if (sna->kgem.mode != KGEM_RENDER) {
DBG(("%s: already performing BLT\n", __FUNCTION__));
return TRUE;
}