From 21948578d0d87f38447ef1ae44fada406949bca8 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 10 Jan 2012 03:19:16 +0000 Subject: 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 --- src/sna/sna_blt.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; -- cgit v1.2.3