aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texformat.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: convert more texture fetch functions to return GLfloatBrian Paul2009-04-011-42/+42
|
* mesa: switch texel fetch functions from GLchan to GLfloatBrian Paul2009-04-011-126/+126
|
* mesa: fix a glGetTexImage issue with base-converted texture formatsRoland Scheidegger2009-03-281-0/+1
| | | | | need to respect the user-supplied base format, not the one derived from the texture format actually used.
* mesa: add _rev signed rgba texture formatRoland Scheidegger2009-03-281-0/+25
|
* mesa: add new signed rgba texture formatRoland Scheidegger2009-03-281-3/+41
| | | | | This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own.
* mesa: added 1D/3D fetch_texel functions for DUDV8Brian Paul2009-03-131-3/+3
|
* mesa: add support for ATI_envmap_bumpmapRoland Scheidegger2009-03-121-0/+42
| | | | | | | | add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly)
* mesa: merge gallium-0.2 into gallium-master-mergeBrian Paul2009-02-091-7/+69
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Merge commit 'origin/master' into gallium-0.2Alan Hourihane2009-01-221-0/+48
| |\ | | | | | | | | | | | | | | | | | | Conflicts: windows/VC8/mesa/osmesa/osmesa.vcproj windows/VC8/progs/demos/gears.vcproj windows/VC8/progs/progs.sln
| * \ Merge commit 'origin/master' into gallium-0.2Brian Paul2009-01-061-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/common/dri_util.c
| * | | mesa: fixes for srgb, new srgb formatsRoland Scheidegger2008-12-121-7/+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.2Keith Whitwell2008-10-101-5/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/glapi/descrip.mms src/mesa/shader/grammar/descrip.mms
| * | | | mesa: Silence compiler warnings on Windows.Michal Krol2008-07-151-2/+2
| | | | |
| * | | | mesa: Added _mesa_texstore_s8_z24Jakob Bornecrantz2008-06-181-4/+0
| | | | |
| * | | | mesa: add some #if FEATURE_x testsBrian Paul2008-06-121-0/+6
| | | | |
| * | | | mesa: refactor: move #define FEATURE flags into new mfeatures.h fileBrian Paul2008-06-101-8/+18
| | | | | | | | | | | | | | | | | | | | Also, check the FEATURE flags in many places.
| * | | | mesa: Most of the functions of MESA_TEXTURE_S8_Z24 are now supportedJakob Bornecrantz2008-06-091-7/+5
| | | | |
| * | | | mesa: Add MESA_FORMAT_S8_Z24 texture formatJakob Bornecrantz2008-06-081-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | None of the fetch and store functions implemented. This atleast stops shadowtex from locking the GPU on i915 with the linux-dri-x86 target. It most of it looks okay, with the exception of actually displaying the texture.
| * | | | move _mesa_format_to_type_and_comps() to texformat.cBrian2008-02-111-0/+171
| | | | |
* | | | | Make GL_ARB_texture_compression mandatoryIan Romanick2009-01-281-27/+25
| |_|_|/ |/| | | | | | | | | | | Signed-off-by: Ian Romanick <[email protected]>
* | | | Add RGBA4444 and RGBA5551 texture formats.Thomas Hellstrom2009-01-201-0/+48
| |_|/ |/| |
* | | mesa: Fix the number of components for GL_UNSIGNED_SHORT_1_5_5_5_REV. (bug ↵Xiang, Haihao2009-01-061-1/+1
| |/ |/| | | | | #19390)
* | Unify ARB_depth_texture and SGIX_depth_textureIan Romanick2008-10-011-5/+4
| | | | | | | | | | | | | | The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code.
* | mesa: Silence compiler warnings on Windows.Michal Krol2008-09-211-2/+2
| |
* | move _mesa_format_to_type_and_comps() to texformat.cBrian2008-09-211-0/+171
| | | | | | | | (cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256)
* | mesa: refactor: move #define FEATURE flags into new mfeatures.h fileKeith Whitwell2008-09-211-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Also, check the FEATURE flags in many places. (cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1) Conflicts: src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c
* | mesa: Support for MESA_FORMAT_S8_Z24 textureJakob Bornecrantz2008-09-041-0/+24
|/ | | | cherry-picked from gallium-0.1
* Initial work for GL_EXT_texture_sRGB.Brian Paul2006-08-031-0/+168
|
* Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.Brian Paul2006-04-061-51/+57
| | | | | | | This allows render to depth texture (we don't support floating pt. Z buffers). Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32. Software fallback for glCopyTexImage now uses integer temporary image instead of float, eliminates a lot of float/int conversions.
* plug in _mesa_texstore_z24_s8()Brian Paul2005-10-011-1/+1
|
* Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul2005-09-281-0/+76
| | | | glReadPixels done, glDrawPixels mostly done.
* Remove a bunch texel fetch functions that can be handled by the newBrian Paul2005-09-151-123/+130
| | | | adaptor functions.
* check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few placesBrian Paul2005-09-081-3/+4
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-9/+58
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-0/+2
| | | | 1015696)
* Another pass at implementing byte-swapped texture formats.Brian Paul2004-05-131-55/+58
| | | | | More code re-use this time. Most formats now tested/debugged with new packedpixels.c test.
* yank bgr233 texformat. minor comment updates.Brian Paul2004-05-121-22/+0
|
* Added big-endian texture formats.Brian Paul2004-05-121-196/+180
| | | | Moved CI->RGBA palette lookup into texel fetch function.
* Removed the old teximage code.Brian Paul2004-04-271-183/+0
| | | | | Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
* transfer routines for compressed formats (avoid SEGFAULT, also prepare for ↵Daniel Borca2004-04-271-6/+6
| | | | external packers)
* s,CHAN_BITS/8,sizeof(GLchan),Brian Paul2004-04-221-7/+7
|
* fix some include file glitchesBrian Paul2004-04-221-1/+1
|
* New glTexImage code.Brian Paul2004-04-221-223/+526
| | | | | | | | The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
* Some initial RGB and RGBA floating point texture formats.Brian Paul2004-01-241-7/+101
|
* Initial support for floating point and signed texture formats.Brian Paul2004-01-231-102/+207
| | | | | | | New "FetchTexelFuncF()" function returns texels in floating point format. Only used for depth component images at this time. Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing need for a bunch of ugly casts.
* more texture compressionDaniel Borca2003-11-211-2/+16
|
* texture compressionDaniel Borca2003-10-291-2/+52
|
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-23/+57
|
* some texture compression odds & endsBrian Paul2003-04-031-3/+94
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-4/+3
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h