summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Remove unnecessary headers.Vinson Lee2010-07-311-1/+0
|
* mesa: Optimize get.c by using a table-driven approachKristian Høgsberg2010-05-111-0/+18
|
* mesa: Remove unnecessary headers from texcompress.c.Vinson Lee2010-01-181-3/+0
|
* mesa: minor code movementBrian Paul2009-10-281-32/+30
|
* Merge branch 'texformat-rework'Brian Paul2009-10-281-210/+33
|\ | | | | | | | | | | | | | | | | | | | | | | 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_row_stride()Brian Paul2009-10-251-15/+0
| |
| * mesa: clean-up, simplify compressed texture size checkingBrian Paul2009-10-251-43/+18
| |
| * mesa: remove _mesa_compressed_texture_size()Brian Paul2009-10-241-24/+0
| | | | | | | | Use _mesa_format_image_size() instead.
| * 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-241-3/+3
| |
| * mesa: don't include texformat.hBrian Paul2009-10-051-1/+0
| |
| * mesa: simplify _mesa_compressed_texture_size()Brian Paul2009-10-011-60/+9
| |
* | mesa: added _mesa_compressed_format_to_glenum()Brian Paul2009-10-231-0/+50
|/ | | | | | Maps a compressed MESA_FORMAT_x to correspding GLenum. Needed for querying a texture's actual format when a generic format was originally requested.
* mesa: merge gallium-0.2 into gallium-master-mergeBrian Paul2009-02-091-0/+56
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c
| * mesa: fixes for srgb, new srgb formatsRoland Scheidegger2008-12-121-13/+58
| | | | | | | | | | | | | | | | | | | | | | add some more srgb texture formats, including compressed ones various fixes relating to srgb formats issues: _mesa_get_teximage is completely broken for srgb textures, both for non-compressed ones (swizzling) and compressed ones (shouldn't do standard-to-linear conversion) texelFetch function may be broken for little or big endian (or both...)
| * Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-12-081-6/+0
| |\ | | | | | | | | | | | | | | | Conflicts: progs/glsl/Makefile
| * | mesa: add some #if FEATURE_x testsBrian Paul2008-06-121-0/+17
| | |
* | | Make GL_ARB_texture_compression mandatoryIan Romanick2009-01-281-48/+46
| |/ |/| | | | | Signed-off-by: Ian Romanick <[email protected]>
* | mesa: remove unneeded compressed texure size checksPhillip Klaus Krause2008-11-281-6/+0
|/
* Move mipmap generation functions, texture scaling functions into newBrian Paul2006-09-291-0/+1
| | | | mipmap.c file.
* more work for GL_EXT_texture_sRGB.Brian Paul2006-08-041-0/+13
|
* Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whetherBrian Paul2006-05-091-11/+20
| | | | | | | 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-0/+47
| | | | | | 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-40/+30
| | | | | | | | 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
* mesa-main-0-NULL.patch from Jeff MuizelaarKeith Whitwell2005-02-111-1/+1
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+1
| | | | 1015696)
* Removed the old teximage code.Brian Paul2004-04-271-48/+27
| | | | | Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
* more texture compressionDaniel Borca2003-11-211-19/+46
|
* small fixes wrt texture handlingDaniel Borca2003-11-031-5/+5
|
* texture compressionDaniel Borca2003-10-291-0/+17
|
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-15/+29
|
* some texture compression odds & endsBrian Paul2003-04-031-6/+67
|
* add 2, not 4, in _mesa_get_compressed_formats()Brian Paul2003-03-241-4/+4
|
* Header file clean-up:Brian Paul2002-10-241-2/+2
| | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
* implement auto mipmap generation for compressed texturesBrian Paul2002-10-181-10/+6
|
* new texture compression infrastructureBrian Paul2002-09-271-0/+159