Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: added _mesa_get_format_name() | Brian Paul | 2009-10-24 | 2 | -0/+78 |
| | |||||
* | mesa: additional comments in format code | Brian Paul | 2009-10-24 | 1 | -1/+28 |
| | |||||
* | dri/drivers: update driNewRenderbuffer() to take a gl_format | Brian Paul | 2009-10-22 | 20 | -145/+136 |
| | | | | | | | | Now pass a specific MESA_FORMAT_x token to indicate the renderbuffer's format. This is better than passing a GLenum and having to guess the specific format. I'm unable to test all the drivers, but any issues should be easy to fix. | ||||
* | radeon: simplify radeon_create_renderbuffer() | Brian Paul | 2009-10-22 | 3 | -29/+27 |
| | |||||
* | r600: fix depth span macros for format changes | Alex Deucher | 2009-10-22 | 1 | -4/+4 |
| | |||||
* | radeon: fix some renderbuffer format bugs | Brian Paul | 2009-10-22 | 2 | -7/+7 |
| | |||||
* | i915: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24 | Brian Paul | 2009-10-21 | 1 | -2/+2 |
| | | | | And change parameter type. | ||||
* | radeon: get rid of z24s8 <-> s8z24 conversions in span code | Brian Paul | 2009-10-21 | 1 | -26/+8 |
| | | | | | Can just use s8z24 everywhere. Note: the WRITE_DEPTH macro for R600 may need to be fixed. | ||||
* | radeon: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24 | Brian Paul | 2009-10-21 | 3 | -6/+6 |
| | | | | | Core Mesa deals with MESA_FORMAT_S8_Z24 everywhere it should so we shouldn't have to use MESA_FORMAT_Z24_S8 anymore. | ||||
* | intel: use MESA_FORMAT_S8_Z24 format and avoid z24s8/s8z24 conversions | Brian Paul | 2009-10-21 | 4 | -31/+19 |
| | |||||
* | i965: change parameter type to gl_format | Brian Paul | 2009-10-21 | 1 | -1/+2 |
| | |||||
* | mesa: use MESA_FORMAT_X8_Z24 | Brian Paul | 2009-10-21 | 1 | -0/+16 |
| | |||||
* | mesa: use MESA_FORMAT_X8_Z24 format | Brian Paul | 2009-10-21 | 1 | -1/+1 |
| | |||||
* | mesa: added MESA_FORMAT_X8_Z24 format | Brian Paul | 2009-10-21 | 4 | -0/+57 |
| | | | | | | 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. | ||||
* | dri/common: updated #includes | Brian Paul | 2009-10-15 | 1 | -6/+2 |
| | |||||
* | dri/common: use _mesa_little_endian() and update comments | Brian Paul | 2009-10-15 | 1 | -7/+5 |
| | |||||
* | dri/common: fix broken _dri_texformat_* initializations | Brian Paul | 2009-10-15 | 1 | -4/+4 |
| | |||||
* | radeon: initialize renderbuffer Format field in radeon_create_renderbuffer() | Brian Paul | 2009-10-14 | 1 | -2/+9 |
| | | | | Plus, use MESA_FORMAT_S8_Z24 everywhere. | ||||
* | mesa: remove a bunch of gl_renderbuffer fields | Brian Paul | 2009-10-08 | 34 | -757/+709 |
| | | | | | | _ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries. | ||||
* | mesa: added MESA_FORMAT_XRGB8888 | Brian Paul | 2009-10-06 | 5 | -4/+60 |
| | |||||
* | mesa: added case for MESA_FORMAT_SIGNED_RGBA_16 | Brian Paul | 2009-10-06 | 1 | -0/+4 |
| | |||||
* | mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffers | Brian Paul | 2009-10-06 | 4 | -1/+17 |
| | |||||
* | mesa: added _mesa_get_format_color_encoding() | Brian Paul | 2009-10-06 | 2 | -0/+28 |
| | |||||
* | mesa: accept more pnames in _mesa_get_format_bits() | Brian Paul | 2009-10-06 | 1 | -0/+19 |
| | |||||
* | drivers: don't include texformat.h | Brian Paul | 2009-10-05 | 46 | -93/+36 |
| | | | | And remove other unneeded #includes while we're at it. | ||||
* | mesa: don't include texformat.h | Brian Paul | 2009-10-05 | 7 | -7/+1 |
| | |||||
* | mesa: move _mesa_format_to_type_and_comps() to formats.c | Brian Paul | 2009-10-05 | 5 | -280/+168 |
| | |||||
* | mesa: move gl_format_info struct to formats.c | Brian Paul | 2009-10-05 | 2 | -38/+37 |
| | | | | This is a private datatype. | ||||
* | mesa: remove feature tests | Brian Paul | 2009-10-05 | 4 | -28/+0 |
| | |||||
* | mesa: use FetchTexelf() instead of FetchTexelc() | Brian Paul | 2009-10-05 | 1 | -3/+8 |
| | |||||
* | mesa: add parenthesis | Brian Paul | 2009-10-05 | 1 | -7/+7 |
| | |||||
* | mesa: lift _mesa_set_fetch_functions() calls out of drivers | Brian Paul | 2009-10-05 | 6 | -25/+26 |
| | | | | Call it from in the main Mesa glTexImage functions. | ||||
* | mesa: make _mesa_get_texel_fetch_func() static | Brian Paul | 2009-10-05 | 2 | -4/+1 |
| | |||||
* | mesa: removed gl_texture_image::CompressedSize field | Brian Paul | 2009-10-01 | 10 | -89/+53 |
| | | | | | Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size. | ||||
* | mesa: reformatting | Brian Paul | 2009-10-01 | 2 | -28/+27 |
| | |||||
* | mesa: move mesa_set_fetch_functions() | Brian Paul | 2009-10-01 | 9 | -86/+89 |
| | |||||
* | radeon: fix tx_table[] entry | Brian Paul | 2009-10-01 | 1 | -1/+1 |
| | | | | XXX need to still verify that the table entries are in correct order. | ||||
* | savage: s/Xfree/_mesa_free/ | Brian Paul | 2009-10-01 | 1 | -1/+1 |
| | |||||
* | mesa: simplify _mesa_compressed_texture_size() | Brian Paul | 2009-10-01 | 1 | -60/+9 |
| | |||||
* | mesa: remove gl_texture_image::IsCompressed field | Brian Paul | 2009-10-01 | 18 | -171/+140 |
| | | | | Use _mesa_is_format_compressed() instead. | ||||
* | mesa: added _mesa_format_row_stride() | Brian Paul | 2009-10-01 | 2 | -1/+25 |
| | |||||
* | mesa: added _mesa_format_image_size() | Brian Paul | 2009-10-01 | 2 | -0/+31 |
| | |||||
* | swrast: fix some texformat regressions | Brian Paul | 2009-09-30 | 2 | -41/+49 |
| | | | | | Need to be careful with component ordering for MESA_FORMAT_RGB888 and MESA_FORMAT_RGBA8888. | ||||
* | mesa: rename texformat_tmp.h to texfetch_tmp.h | Brian Paul | 2009-09-30 | 2 | -10/+8 |
| | |||||
* | mesa: remove MESA_FORMAT_RGBA4444 | Brian Paul | 2009-09-30 | 5 | -98/+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 | 10 | -471/+35 |
| | | | | 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 | 8 | -600/+668 |
| | |||||
* | st/mesa: update comment | Brian Paul | 2009-09-30 | 1 | -1/+1 |
| | |||||
* | mesa: remove gl_texture_format | Brian Paul | 2009-09-30 | 5 | -1209/+0 |
| | |||||
* | mesa: replace gl_texture_format with gl_format | Brian Paul | 2009-09-30 | 69 | -822/+869 |
| | | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next. |