mesa/swrast: implement EXT_texture_sRGB_decode
authorDave Airlie <airlied@gmail.com>
Thu, 13 Jan 2011 02:12:21 +0000 (12:12 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 16 Jan 2011 02:54:06 +0000 (12:54 +1000)
commitedc2dd8e4788e556d445c9f59974ed95b33c2bbc
tree414f98866a8197661563ec673806ead56de3afc7
parentac6334145ec8eef42505cdd727aed7fae0831e12
mesa/swrast: implement EXT_texture_sRGB_decode

This implements the extension by choosing a different set of texture
fetch functions when the texture parameter changes.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/extensions.c
src/mesa/main/formats.c
src/mesa/main/formats.h
src/mesa/main/mtypes.h
src/mesa/main/texfetch.c
src/mesa/main/texfetch.h
src/mesa/main/texobj.c
src/mesa/main/texparam.c