summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Clean up header file inclusion in texcompress.h.Vinson Lee2010-12-041-1/+4
|
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-2/+2
|
* mesa/main: Make FEATURE_texture_s3tc follow feature conventions.Chia-I Wu2009-10-291-5/+0
| | | | Signed-off-by: Chia-I Wu <[email protected]>
* mesa/main: Make FEATURE_texture_fxt1 follow feature conventions.Chia-I Wu2009-10-291-3/+0
| | | | | | Also remove the unused initialization and GLchan fetch functions. Signed-off-by: Chia-I Wu <[email protected]>
* mesa: minor code movementBrian Paul2009-10-281-4/+3
|
* Merge branch 'texformat-rework'Brian Paul2009-10-281-17/+4
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * mesa: remove _mesa_compressed_texture_size_glenum() stubBrian Paul2009-10-251-1/+0
| |
| * mesa: remove _mesa_compressed_row_stride()Brian Paul2009-10-251-5/+0
| |
| * mesa: clean-up, simplify compressed texture size checkingBrian Paul2009-10-251-4/+2
| |
| * mesa: remove _mesa_compressed_texture_size()Brian Paul2009-10-241-6/+0
| | | | | | | | Use _mesa_format_image_size() instead.
| * mesa: s/GLuint/gl_format/Brian Paul2009-10-241-3/+4
| |
* | mesa: added _mesa_compressed_format_to_glenum()Brian Paul2009-10-231-0/+4
|/ | | | | | Maps a compressed MESA_FORMAT_x to correspding GLenum. Needed for querying a texture's actual format when a generic format was originally requested.
* Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whetherBrian Paul2006-05-091-1/+1
| | | | | | | all formats or just those without restrictions/limitations should be returned. We want all when validating the internalFormat parameter to glCompressedTexImage2D but only want unrestricted formats when handling the GL_COMPRESSED_TEXTURE_FORMATS query.
* More updates for texture compression.Brian Paul2006-05-081-4/+13
| | | | | | Added _mesa_compressed_texture_size_glenum() for validating the imageSize parameter to glCompressedTex[Sub]Image1/2/3() which does _not_ call ctx->Driver.CompressedTextureSize() - since that could return a padded size.
* Fix a number of texture compression issues.Brian Paul2006-05-081-3/+3
| | | | | | | | Pass the MESA_FORMAT_* token to the _mesa_compressed_row_stride(), _mesa_compressed_texture_size() and _mesa_compressed_image_address() functions since we want to use the driver-chosen format, not the user's internalFormat hint. Consolidate code related to choosing the texture format in texstoree.c
* Removed the old teximage code.Brian Paul2004-04-271-8/+9
| | | | | Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-1/+8
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* implement auto mipmap generation for compressed texturesBrian Paul2002-10-181-5/+5
|
* new texture compression infrastructureBrian Paul2002-09-271-0/+58