aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa/swrast: implement EXT_texture_sRGB_decodeDave Airlie2011-01-161-0/+3
| | | | | | | 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: implement new texture format I16Marek Olšák2010-12-231-0/+1
|
* mesa: implement new texture format L16Marek Olšák2010-12-231-0/+1
|
* mesa: implement new texture format A16Marek Olšák2010-12-231-0/+1
|
* mesa: implement new texture format AL44Marek Olšák2010-12-231-0/+1
| | | | | | 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 ARGB2101010Marek Olšák2010-12-231-0/+1
| | | | Radeon GPUs do support GL_RGB10_A2.
* mesa: added _mesa_format_image_size64()Brian Paul2010-11-241-0/+4
|
* mesa: rename function to _mesa_is_format_integer_color()Brian Paul2010-10-261-1/+1
| | | | Be a bit more clear about its operation.
* mesa: _mesa_is_format_integer() functionBrian Paul2010-10-231-0/+3
|
* ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formatsIan Romanick2010-10-011-0/+6
|
* mesa: Identify packed depth/stencil buffers using the Format field.Nick Bowler2010-08-261-0/+3
| | | | | | | | | | | | | | | | | | | | Intel sometimes uses packed depth/stencil buffers even when only a depth buffer or only a stencil buffer was requested. Common code currently uses the _BaseFormat field to determine whether a depth/stencil wrapper is necessary. But unless the user explicitly requested a packed depth/stencil buffer, the _BaseFormat field does not encode this information, and the required wrappers are not created. The problem was introduced by commit 45e76d2665b38b ("mesa: remove a bunch of gl_renderbuffer fields"), which killed off the _ActualFormat field upon which the decision to create a wrapper used to be made. This patch changes the logic to use the Format field instead, which is more like the old code. Fixes fdo bug 27590. Signed-off-by: Nick Bowler <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* mesa: Remove unnecessary header.Vinson Lee2010-07-281-1/+1
|
* mesa: initial support for unnormalized integer texture formatsBrian Paul2010-07-051-0/+16
| | | | As defined by GL_EXT_texture_integer.
* mesa: added unsigned 16-bit/channel tex formatBrian Paul2010-05-091-0/+1
|
* mesa: added comments for signed 16-bit formatsBrian Paul2010-05-091-4/+4
|
* mesa: start adding GL 3.1 signed normalized texture formatsBrian Paul2010-04-261-3/+11
|
* mesa: remove trailing comment to silence warningBrian Paul2009-11-171-1/+1
|
* Add MESA_FORMAT_XRGB8888_REV.Michel Dänzer2009-11-171-0/+1
|
* AL1616: Add formats for GL_LUMINANCE16_ALPHA16 texturesIan Romanick2009-11-161-0/+2
|
* mesa: Add MESA_FORMAT_Z24_X8.José Fonseca2009-10-291-0/+1
|
* mesa: added _mesa_get_format_block_size()Brian Paul2009-10-241-0/+3
|
* mesa: added _mesa_get_format_name()Brian Paul2009-10-241-0/+3
|
* mesa: added MESA_FORMAT_X8_Z24 formatBrian Paul2009-10-211-0/+1
| | | | | | 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_XRGB8888Brian Paul2009-10-061-0/+1
|
* mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffersBrian Paul2009-10-061-0/+1
|
* mesa: added _mesa_get_format_color_encoding()Brian Paul2009-10-061-0/+3
|
* mesa: move _mesa_format_to_type_and_comps() to formats.cBrian Paul2009-10-051-4/+3
|
* mesa: move gl_format_info struct to formats.cBrian Paul2009-10-051-38/+0
| | | | This is a private datatype.
* mesa: remove feature testsBrian Paul2009-10-051-8/+0
|
* mesa: added _mesa_format_row_stride()Brian Paul2009-10-011-0/+4
|
* mesa: added _mesa_format_image_size()Brian Paul2009-10-011-0/+4
|
* mesa: remove MESA_FORMAT_RGBA4444Brian Paul2009-09-301-1/+0
| | | | Not used by any hardware driver. ARGB4444 and ARGB4444_REV remain.
* mesa: remove GLchan-based formats; use hw 8-bit/channel formats insteadBrian Paul2009-09-301-12/+1
| | | | Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
* mesa: code movementBrian Paul2009-09-271-7/+6
|
* mesa: added _mesa_get_format_datatype()Brian Paul2009-09-271-0/+3
|
* mesa: added _mesa_get_format_bits()Brian Paul2009-09-271-0/+4
|
* mesa: added MESA_FORMAT_NONEBrian Paul2009-09-271-0/+1
|
* mesa: initial check-in of new formats.[ch] filesBrian Paul2009-09-261-0/+213