Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Add RGTC texture store/fetch support. | Dave Airlie | 2011-02-28 | 1 | -1/+30 |
| | | | | | | | | | This adds support for the RGTC unsigned and signed texture storage and fetch methods. the code is a port of the DXT5 alpha compression code. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | mesa: minor tweaks in _mesa_set_fetch_functions() | Brian Paul | 2011-01-15 | 1 | -3/+3 |
| | |||||
* | mesa: move declarations before code | Brian Paul | 2011-01-15 | 1 | -1/+2 |
| | |||||
* | mesa/swrast: implement EXT_texture_sRGB_decode | Dave Airlie | 2011-01-16 | 1 | -1/+24 |
| | | | | | | | 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 Airlie | 2011-01-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | 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: implement new texture format I16 | Marek Olšák | 2010-12-23 | 1 | -0/+7 |
| | |||||
* | mesa: implement new texture format L16 | Marek Olšák | 2010-12-23 | 1 | -0/+7 |
| | |||||
* | mesa: implement new texture format A16 | Marek Olšák | 2010-12-23 | 1 | -0/+7 |
| | |||||
* | mesa: implement new texture format AL44 | Marek Olšák | 2010-12-23 | 1 | -0/+7 |
| | | | | | | Radeon GPUs can do this. R600 can even do render-to-texture. Packing and extracting aren't implemented, but we shouldn't hit them (I think). Tested with swrast, softpipe, and r300g. | ||||
* | mesa: implement new texture format ARGB2101010 | Marek Olšák | 2010-12-23 | 1 | -0/+7 |
| | | | | Radeon GPUs do support GL_RGB10_A2. | ||||
* | mesa: pass gl_format to _mesa_init_teximage_fields() | Brian Paul | 2010-11-18 | 1 | -9/+3 |
| | | | | | | | | | | | This should prevent the field going unset in the future. See bug http://bugs.freedesktop.org/show_bug.cgi?id=31544 for background. Also remove unneeded calls to clear_teximage_fields(). Finally, call _mesa_set_fetch_functions() from the _mesa_init_teximage_fields() function so callers have one less thing to worry about. | ||||
* | ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formats | Ian Romanick | 2010-10-01 | 1 | -0/+42 |
| | |||||
* | mesa: Remove unnecessary headers. | Vinson Lee | 2010-07-31 | 1 | -1/+0 |
| | |||||
* | mesa: Include macros.h in files that use symbols from macros.h. | Vinson Lee | 2010-07-30 | 1 | -0/+1 |
| | | | | Don't rely on inclusion of other files that already include macros.h. | ||||
* | mesa: initial support for unnormalized integer texture formats | Brian Paul | 2010-07-05 | 1 | -0/+50 |
| | | | | As defined by GL_EXT_texture_integer. | ||||
* | mesa: Remove _mesa_pow(), which is always just pow(). | Eric Anholt | 2010-05-13 | 1 | -1/+1 |
| | |||||
* | mesa: added unsigned 16-bit/channel tex format | Brian Paul | 2010-05-09 | 1 | -0/+7 |
| | |||||
* | mesa: start adding GL 3.1 signed normalized texture formats | Brian Paul | 2010-04-26 | 1 | -4/+46 |
| | |||||
* | mesa: sort texel fetch/store table by format index | Brian Paul | 2010-04-22 | 1 | -250/+256 |
| | |||||
* | mesa: Initialize variable in _mesa_get_texel_fetch_func. | Vinson Lee | 2009-11-23 | 1 | -1/+1 |
| | |||||
* | Add MESA_FORMAT_XRGB8888_REV. | Michel Dänzer | 2009-11-17 | 1 | -0/+7 |
| | |||||
* | AL1616: Add texel fetch / store routines | Ian Romanick | 2009-11-16 | 1 | -0/+14 |
| | |||||
* | mesa: Add MESA_FORMAT_Z24_X8. | José Fonseca | 2009-10-29 | 1 | -0/+7 |
| | |||||
* | mesa: added MESA_FORMAT_X8_Z24 format | Brian Paul | 2009-10-21 | 1 | -0/+7 |
| | | | | | | 24-bit Z in 32-bit pixel. We could probably use the MESA_FORMAT_S8_Z24 format but this there's a few places where we explicitly don't want stencil. This format may go away at some point in the future. | ||||
* | mesa: added MESA_FORMAT_XRGB8888 | Brian Paul | 2009-10-06 | 1 | -0/+7 |
| | |||||
* | mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffers | Brian Paul | 2009-10-06 | 1 | -0/+7 |
| | |||||
* | mesa: remove feature tests | Brian Paul | 2009-10-05 | 1 | -4/+0 |
| | |||||
* | mesa: lift _mesa_set_fetch_functions() calls out of drivers | Brian Paul | 2009-10-05 | 1 | -6/+6 |
| | | | | Call it from in the main Mesa glTexImage functions. | ||||
* | mesa: make _mesa_get_texel_fetch_func() static | Brian Paul | 2009-10-05 | 1 | -1/+1 |
| | |||||
* | mesa: move mesa_set_fetch_functions() | Brian Paul | 2009-10-01 | 1 | -0/+81 |
| | |||||
* | mesa: rename texformat_tmp.h to texfetch_tmp.h | Brian Paul | 2009-09-30 | 1 | -3/+3 |
| | |||||
* | mesa: remove MESA_FORMAT_RGBA4444 | Brian Paul | 2009-09-30 | 1 | -7/+0 |
| | | | | Not used by any hardware driver. ARGB4444 and ARGB4444_REV remain. | ||||
* | mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead | Brian Paul | 2009-09-30 | 1 | -42/+0 |
| | | | | Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY. | ||||
* | mesa: move texel fetch/store into new texfetch.[ch] files | Brian Paul | 2009-09-30 | 1 | -0/+616 |