From 737de9a779d05fe6fb1efe1904fda2cc452ff137 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 14 May 2010 23:48:27 +0100 Subject: [PATCH] uxa: Disable compatible src xrgb and dst argb I'm seeing garbage alpha for rendercheck blend: x8r8g8b8a 10x10 SRC ar8g8b8a so disable blitting until I work out if we can fast-path it. Signed-off-by: Chris Wilson --- uxa/uxa-render.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c index 8b6d4c7b..010d663f 100644 --- a/uxa/uxa-render.c +++ b/uxa/uxa-render.c @@ -1326,9 +1326,11 @@ compatible_formats (CARD8 op, PicturePtr dst, PicturePtr src) if (src->format == PICT_a8b8g8r8 && dst->format == PICT_x8b8g8r8) return 1; - /* xrgb is promoted to argb during image upload... */ + /* XXX xrgb is promoted to argb during image upload... */ +#if 0 if (dst->format == PICT_a8r8g8b8 && src->format == PICT_x8r8g8b8) return 1; +#endif } else if (op == PictOpOver) { if (src->format != dst->format) return 0;