mesa: fixes for srgb, new srgb formats
authorRoland Scheidegger <sroland@tungstengraphics.com>
Fri, 12 Dec 2008 04:06:48 +0000 (05:06 +0100)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Fri, 12 Dec 2008 04:12:48 +0000 (05:12 +0100)
commit5bd093bd7b3711f88e1fd0fc9cdb37a18d7d24b9
tree455ddf79b8f86c7c3c9ef2853ccfa304019d5e14
parent9106a18f46cd83180b17f4b30f54bd2d5b437db1
mesa: fixes for srgb, new srgb formats

add some more srgb texture formats, including compressed ones
various fixes relating to srgb formats

issues: _mesa_get_teximage is completely broken for srgb textures,
        both for non-compressed ones (swizzling) and compressed ones
        (shouldn't do standard-to-linear conversion)
        texelFetch function may be broken for little or big endian
        (or both...)
src/mesa/main/texcompress.c
src/mesa/main/texcompress_s3tc.c
src/mesa/main/texformat.c
src/mesa/main/texformat.h
src/mesa/main/texformat_tmp.h
src/mesa/main/texstore.c
src/mesa/main/texstore.h