summaryrefslogtreecommitdiff
path: root/src/mesa/main/texcompress.h
AgeCommit message (Collapse)Author
2009-10-29mesa/main: Make FEATURE_texture_s3tc follow feature conventions.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-29mesa/main: Make FEATURE_texture_fxt1 follow feature conventions.Chia-I Wu
Also remove the unused initialization and GLchan fetch functions. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-28mesa: minor code movementBrian Paul
2009-10-28Merge branch 'texformat-rework'Brian Paul
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
2009-10-25mesa: remove _mesa_compressed_texture_size_glenum() stubBrian Paul
2009-10-25mesa: remove _mesa_compressed_row_stride()Brian Paul
2009-10-25mesa: clean-up, simplify compressed texture size checkingBrian Paul
2009-10-24mesa: remove _mesa_compressed_texture_size()Brian Paul
Use _mesa_format_image_size() instead.
2009-10-24mesa: s/GLuint/gl_format/Brian Paul
2009-10-23mesa: added _mesa_compressed_format_to_glenum()Brian Paul
Maps a compressed MESA_FORMAT_x to correspding GLenum. Needed for querying a texture's actual format when a generic format was originally requested.
2006-05-09Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whetherBrian Paul
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.
2006-05-08More updates for texture compression.Brian Paul
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.
2006-05-08Fix a number of texture compression issues.Brian Paul
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
2004-04-27Removed the old teximage code.Brian Paul
Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2002-10-18implement auto mipmap generation for compressed texturesBrian Paul
2002-09-27new texture compression infrastructureBrian Paul