summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'texformat-rework'Brian Paul2009-10-28137-5767/+6514
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
| * swrast: fix RGB, RGBA texturing codeBrian Paul2009-10-281-5/+11
| | | | | | | | | | | | Fix backward component ordering for RGB textures. Only optimize RGBA texture case if running little endian. This restriction could be lifted with a little work.
| * swrast: check for single texture unit in _swrast_choose_triangle()Brian Paul2009-10-281-0/+1
| |
| * swrast: clean up and remove dead code in triangle functionsBrian Paul2009-10-281-57/+47
| |
| * swrast: fix texel decoding in opt_sample_rgba_2d()Brian Paul2009-10-281-5/+5
| |
| * mesa: choose texture format in _mesa_get_fallback_texture()Brian Paul2009-10-281-0/+5
| |
| * radeon: add case for MESA_FORMAT_X8_Z24 in radeon_create_renderbuffer()Brian Paul2009-10-271-1/+6
| |
| * mesa: choose texture format in core mesa, not driversBrian Paul2009-10-2512-64/+54
| | | | | | | | | | | | Call the ctx->Driver.ChooseTextureFormat() function from core Mesa's _mesa_[Copy]TexImage functions instead of in the driver functions. One less thing for drivers to do.
| * mesa: remove _mesa_compressed_texture_size_glenum() stubBrian Paul2009-10-251-1/+0
| |
| * mesa: remove _mesa_compressed_row_stride()Brian Paul2009-10-252-20/+0
| |
| * mesa: remove calls to _mesa_compressed_row_stride()Brian Paul2009-10-255-15/+15
| |
| * glide: remove _mesa_compressed_row_stride() callsBrian Paul2009-10-251-11/+9
| | | | | | | | And fix incorrect first parameter.
| * mesa: remove _mesa_compressed_row_stride() callsBrian Paul2009-10-251-2/+1
| |
| * mesa: begin removing _mesa_compressed_row_stride() callsBrian Paul2009-10-252-3/+3
| | | | | | | | Use equivalent _mesa_format_row_stride() function instead.
| * mesa: simplify texture_row_stride() helperBrian Paul2009-10-251-10/+1
| |
| * mesa: fix-up error checking related to compressed texture block sizeBrian Paul2009-10-251-5/+17
| |
| * mesa: clean-up, simplify compressed texture size checkingBrian Paul2009-10-253-51/+36
| |
| * mesa: remove _mesa_compressed_texture_size()Brian Paul2009-10-246-53/+13
| | | | | | | | Use _mesa_format_image_size() instead.
| * mesa: remove ctx->Driver.CompressedTextureSize() hookBrian Paul2009-10-243-9/+0
| | | | | | | | It always just called _mesa_compressed_texture_size() anyway.
| * mesa: change compressed texture size callsBrian Paul2009-10-246-41/+23
| | | | | | | | | | Replace calls to ctx->Driver.CompressedTextureSize with calls to _mesa_format_image_size. The former always called the later.
| * mesa: minor clean-ups in _mesa_store_compressed_texsubimage2d()Brian Paul2009-10-241-4/+5
| |
| * mesa: simplify _mesa_compressed_row_stride(), _mesa_compressed_image_address()Brian Paul2009-10-241-76/+15
| | | | | | | | | | _mesa_compressed_row_stride() can go away soon. _mesa_compressed_image_address() can be generalized and moved to formats.c
| * mesa: s/GLuint/gl_format/Brian Paul2009-10-242-6/+7
| |
| * mesa: move assertion after declarationBrian Paul2009-10-241-1/+1
| |
| * mesa: remove hard-coded block sizesBrian Paul2009-10-241-5/+9
| |
| * mesa: added _mesa_get_format_block_size()Brian Paul2009-10-242-0/+19
| |
| * mesa: added _mesa_get_format_name()Brian Paul2009-10-242-0/+78
| |
| * mesa: additional comments in format codeBrian Paul2009-10-241-1/+28
| |
| * dri/drivers: update driNewRenderbuffer() to take a gl_formatBrian Paul2009-10-2220-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 Paul2009-10-223-29/+27
| |
| * r600: fix depth span macros for format changesAlex Deucher2009-10-221-4/+4
| |
| * radeon: fix some renderbuffer format bugsBrian Paul2009-10-222-7/+7
| |
| * i915: replace MESA_FORMAT_Z24_S8 with MESA_FORMAT_S8_Z24Brian Paul2009-10-211-2/+2
| | | | | | | | And change parameter type.
| * radeon: get rid of z24s8 <-> s8z24 conversions in span codeBrian Paul2009-10-211-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_Z24Brian Paul2009-10-213-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 conversionsBrian Paul2009-10-214-31/+19
| |
| * i965: change parameter type to gl_formatBrian Paul2009-10-211-1/+2
| |
| * mesa: use MESA_FORMAT_X8_Z24Brian Paul2009-10-211-0/+16
| |
| * mesa: use MESA_FORMAT_X8_Z24 formatBrian Paul2009-10-211-1/+1
| |
| * mesa: added MESA_FORMAT_X8_Z24 formatBrian Paul2009-10-214-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 #includesBrian Paul2009-10-151-6/+2
| |
| * dri/common: use _mesa_little_endian() and update commentsBrian Paul2009-10-151-7/+5
| |
| * dri/common: fix broken _dri_texformat_* initializationsBrian Paul2009-10-151-4/+4
| |
| * radeon: initialize renderbuffer Format field in radeon_create_renderbuffer()Brian Paul2009-10-141-2/+9
| | | | | | | | Plus, use MESA_FORMAT_S8_Z24 everywhere.
| * mesa: remove a bunch of gl_renderbuffer fieldsBrian Paul2009-10-0834-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_XRGB8888Brian Paul2009-10-065-4/+60
| |
| * mesa: added case for MESA_FORMAT_SIGNED_RGBA_16Brian Paul2009-10-061-0/+4
| |
| * mesa: added MESA_FORMAT_SIGNED_RGBA_16 for accum buffersBrian Paul2009-10-064-1/+17
| |
| * mesa: added _mesa_get_format_color_encoding()Brian Paul2009-10-062-0/+28
| |
| * mesa: accept more pnames in _mesa_get_format_bits()Brian Paul2009-10-061-0/+19
| |