summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texfetch.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa/swrast: implement EXT_texture_sRGB_decodeDave Airlie2011-01-161-0/+2
| | | | | | | This implements the extension by choosing a different set of texture fetch functions when the texture parameter changes. Signed-off-by: Dave Airlie <[email protected]>
* mesa/swrast: handle sRGB FBOs correctly (v2)Dave Airlie2011-01-111-0/+3
| | | | | | | | | | | | | | | | From reading EXT_texture_sRGB and EXT_framebuffer_sRGB and interactions with FBO I've found that swrast is converting the sRGB values to linear for blending when an sRGB texture is bound as an FBO. According to the spec and further explained in the framebuffer_sRGB spec this behaviour is not required unless the GL_FRAMEBUFFER_SRGB is enabled and the Visual/config exposes GL_FRAMEBUFFER_SRGB_CAPABLE_EXT. This patch fixes swrast to use a separate Fetch call for FBOs bound to SRGB and avoid the conversions. v2: export _mesa_get_texture_dimensions as per Brian's comments. Signed-off-by: Dave Airlie <[email protected]>
* mesa: make _mesa_get_texel_fetch_func() staticBrian Paul2009-10-051-3/+0
|
* mesa: move mesa_set_fetch_functions()Brian Paul2009-10-011-0/+2
|
* mesa: move texel fetch/store into new texfetch.[ch] filesBrian Paul2009-09-301-0/+41