summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texformat.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee2011-01-071-0/+1
|
* mesa: Include mtypes.h in files that use gl_context struct.Vinson Lee2011-01-051-0/+1
| | | | | | Directly include mtypes.h if a file uses a gl_context struct. This allows future removal of headers that are not strictly necessary but indirectly include mtypes.h for a file.
* intel: Merge our choosetexformat fallbacks into core.Eric Anholt2011-01-041-1/+47
| | | | | | We now share the type/format -> MESA_FORMAT_* mappings with software mesa, and the core supports most of the fallbacks hardware drivers will want.
* mesa: Make _mesa_choose_tex_format() choose formats out of a supported table.Eric Anholt2011-01-041-91/+172
| | | | | Right now this is just tweaking the current code to look at the table. Choosing actually supported formats will come later.
* mesa: implement new texture format I16Marek Olšák2010-12-231-2/+4
|
* mesa: implement new texture format L16Marek Olšák2010-12-231-2/+4
|
* mesa: implement new texture format A16Marek Olšák2010-12-231-2/+4
|
* mesa: implement new texture format AL44Marek Olšák2010-12-231-1/+3
| | | | | | Radeon GPUs can do this. R600 can even do render-to-texture. Packing and extracting aren't implemented, but we shouldn't hit them (I think). Tested with swrast, softpipe, and r300g.
* mesa: implement new texture format ARGB2101010Marek Olšák2010-12-231-0/+2
| | | | Radeon GPUs do support GL_RGB10_A2.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-1/+1
|
* ARB_texture_rg: Add R8, R16, RG88, and RG1616 internal formatsIan Romanick2010-10-011-0/+23
|
* mesa: initial support for unnormalized integer texture formatsBrian Paul2010-07-051-0/+47
| | | | As defined by GL_EXT_texture_integer.
* 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
| |_|/ |/| |