From: Michel Dänzer Date: Fri, 25 Sep 2009 18:38:49 +0000 (+0200) Subject: st/xorg: Use I8 format instead of A8 for depth 8 pixmaps. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b97547027e0f049d1ceef7863815d53e471fb18c;p=mesa.git st/xorg: Use I8 format instead of A8 for depth 8 pixmaps. Seems to work better for Composite acceleration. --- diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index 1bb274e6bdd..94f4ea2c386 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.c +++ b/src/gallium/state_trackers/xorg/xorg_exa.c @@ -75,7 +75,7 @@ exa_get_pipe_format(int depth, enum pipe_format *format, int *bbp) assert(*bbp == 16); break; case 8: - *format = PIPE_FORMAT_A8_UNORM; + *format = PIPE_FORMAT_I8_UNORM; assert(*bbp == 8); break; case 4: