diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-14 23:48:27 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-14 23:56:26 +0100 |
commit | 737de9a779d05fe6fb1efe1904fda2cc452ff137 (patch) | |
tree | 39fbc6a3508ececaba26a508a4191636ec90e5d5 /uxa/uxa-render.c | |
parent | 271240fd477b11885947da32868bc77151681559 (diff) |
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'uxa/uxa-render.c')
-rw-r--r-- | uxa/uxa-render.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |