summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texformat.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: added unsigned 16-bit/channel tex formatBrian Paul2010-05-091-8/+14
|
* mesa: start adding GL 3.1 signed normalized texture formatsBrian Paul2010-04-261-0/+26
|
* mesa: Remove unnecessary headers from texformat.c.Vinson Lee2010-01-181-2/+0
|
* AL1616: Enable MESA_FORMAT_AL1616 for software pathsIan Romanick2009-11-161-2/+4
|
* Merge branch 'texformat-rework'Brian Paul2009-10-281-1706/+73
|\ | | | | | | | | | | | | | | | | | | | | | | 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: move _mesa_format_to_type_and_comps() to formats.cBrian Paul2009-10-051-179/+0
| |
| * mesa: remove GLchan-based formats; use hw 8-bit/channel formats insteadBrian Paul2009-09-301-31/+6
| | | | | | | | Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY.
| * mesa: move texel fetch/store into new texfetch.[ch] filesBrian Paul2009-09-301-580/+4
| |
| * mesa: remove gl_texture_formatBrian Paul2009-09-301-908/+0
| |
| * mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-301-73/+74
| | | | | | | | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
| * mesa: change _mesa_format_to_type_and_comps() format parameter typeBrian Paul2009-09-271-4/+3
| |
| * mesa: remove unused gl_texture_format fieldsBrian Paul2009-09-271-432/+0
| |
| * mesa: rework null texel fetch/store funcsBrian Paul2009-09-271-22/+21
| |
| * mesa: null-out StoreTexImageFunc fieldsBrian Paul2009-09-271-53/+53
| |
| * mesa: use _mesa_get_texel_store_func()Brian Paul2009-09-271-52/+52
| |
| * mesa: use new look-up table to get texel fetch/store funcsBrian Paul2009-09-271-163/+659
| |
* | mesa: change s3tc vs. fxt1 priority when choosing compressed formatsBrian Paul2009-10-231-8/+8
|/
* 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
|