mesa: add MESA_FORMAT_B8G8R8X8_SRGB
authorChia-I Wu <olvaffe@gmail.com>
Tue, 4 Mar 2014 04:18:52 +0000 (12:18 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 6 Mar 2014 02:59:25 +0000 (10:59 +0800)
commit5a27491a760c64e885110605ff0e5c8021382864
treee342b91433cf8e2396727a166c11d29b621c270f
parent48a9094b69db621c4b8a432adc63d6f4439ab3d1
mesa: add MESA_FORMAT_B8G8R8X8_SRGB

The format is needed to represent an RGB-only winsys framebuffer that is
sRGB-capable.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/format_pack.c
src/mesa/main/format_unpack.c
src/mesa/main/formats.c
src/mesa/main/formats.h
src/mesa/main/texstore.c
src/mesa/swrast/s_texfetch.c