summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-01-10 03:19:16 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-01-10 17:08:16 +0000
commit21948578d0d87f38447ef1ae44fada406949bca8 (patch)
tree1226b76ffdee25750e0721ee447316e4654fd0c0 /src
parent87f73b043426c47efa7670fb65bdcc7dfcf71fc3 (diff)
sna: Disable the inline xRGB to ARGB upload conversion
As we have to upload the dirty data anyway, setting the alpha-channel to 0xff should be free. Not so for firefox-asteroids on Atom at least. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_blt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sna/sna_blt.c b/src/sna/sna_blt.c
index 2c503d26..eda952f5 100644
--- a/src/sna/sna_blt.c
+++ b/src/sna/sna_blt.c
@@ -1440,6 +1440,9 @@ prepare_blt_put(struct sna *sna,
GXcopy);
}
} else {
+ if (alpha_fixup)
+ return FALSE; /* XXX */
+
if (!sna_pixmap_move_to_cpu(src, MOVE_READ))
return FALSE;