Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: rename texformat_tmp.h to texfetch_tmp.h | Brian Paul | 2009-09-30 | 1 | -1304/+0 |
| | |||||
* | mesa: remove MESA_FORMAT_RGBA4444 | Brian Paul | 2009-09-30 | 1 | -24/+0 |
| | | | | Not used by any hardware driver. ARGB4444 and ARGB4444_REV remain. | ||||
* | mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead | Brian Paul | 2009-09-30 | 1 | -146/+0 |
| | | | | Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY. | ||||
* | mesa: replace gl_texture_format with gl_format | Brian Paul | 2009-09-30 | 1 | -2/+2 |
| | | | | | | 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: Use appropriate float/integer types. | José Fonseca | 2009-06-15 | 1 | -2/+2 |
| | |||||
* | mesa: Use type modifier for float constants. | José Fonseca | 2009-06-15 | 1 | -12/+12 |
| | |||||
* | mesa: fix incorrect component ordering for sRGB8 texture fetch/store | Brian Paul | 2009-04-07 | 1 | -5/+6 |
| | | | | | | This format is layered on MESA_FORMAT_RGB888 so the component order is actually BGR. Fixes glean pixelFormat failures. | ||||
* | mesa: remove extra semicolons | Brian Paul | 2009-04-03 | 1 | -5/+5 |
| | |||||
* | mesa: simplify ycbcr->rgb conversion code | Brian Paul | 2009-04-01 | 1 | -32/+14 |
| | |||||
* | mesa: convert more texture fetch functions to return GLfloat | Brian Paul | 2009-04-01 | 1 | -65/+52 |
| | |||||
* | mesa: switch texel fetch functions from GLchan to GLfloat | Brian Paul | 2009-04-01 | 1 | -154/+140 |
| | |||||
* | mesa: add _rev signed rgba texture format | Roland Scheidegger | 2009-03-28 | 1 | -1/+22 |
| | |||||
* | mesa: add new signed rgba texture format | Roland Scheidegger | 2009-03-28 | 1 | -0/+22 |
| | | | | | 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 DUDV8 | Brian Paul | 2009-03-13 | 1 | -5/+2 |
| | |||||
* | mesa: fix transposed red/blue in store_texel_rgb888/bgr888() functions | Brian Paul | 2009-03-12 | 1 | -4/+4 |
| | |||||
* | mesa: add support for ATI_envmap_bumpmap | Roland Scheidegger | 2009-03-12 | 1 | -1/+16 |
| | | | | | | | | 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: fixes for srgb formats | Roland Scheidegger | 2009-02-09 | 1 | -20/+14 |
| | | | | | swizzling in fetch/store srgba/sargb functions fixed (consistent with equivalent non-srgb formats now). | ||||
* | Merge commit 'origin/master' into gallium-0.2 | Alan Hourihane | 2009-01-22 | 1 | -2/+49 |
|\ | | | | | | | | | | | | | Conflicts: windows/VC8/mesa/osmesa/osmesa.vcproj windows/VC8/progs/demos/gears.vcproj windows/VC8/progs/progs.sln | ||||
| * | Fix store texel for argb4444. | Thomas Hellstrom | 2009-01-20 | 1 | -1/+1 |
| | | |||||
| * | Fix store texel for argb8888_rev. | Thomas Hellstrom | 2009-01-20 | 1 | -1/+1 |
| | | |||||
| * | Add RGBA4444 and RGBA5551 texture formats. | Thomas Hellstrom | 2009-01-20 | 1 | -0/+47 |
| | | |||||
* | | mesa: fixes for srgb, new srgb formats | Roland Scheidegger | 2008-12-12 | 1 | -0/+26 |
|/ | | | | | | | | | | | 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...) | ||||
* | mesa: return after _mesa_problem() calls | Guillaume Melquiond | 2008-09-13 | 1 | -0/+1 |
| | |||||
* | mesa: Support for MESA_FORMAT_S8_Z24 texture | Jakob Bornecrantz | 2008-09-04 | 1 | -0/+26 |
| | | | | cherry-picked from gallium-0.1 | ||||
* | Revamp color table code. | Brian Paul | 2006-10-13 | 1 | -74/+45 |
| | | | | Always store all color tables as both float and ubyte. | ||||
* | Initial work for GL_EXT_texture_sRGB. | Brian Paul | 2006-08-03 | 1 | -0/+97 |
| | |||||
* | In gl_texture_image, replace ImageStride with an ImageOffsets array. | Brian Paul | 2006-05-20 | 1 | -2/+2 |
| | | | | | | | | | Some hardware lays out 3D mipmaps in a manner that can't be expressed with a simple image stride. The ImageOffsets array is allocated and initialized to typical defaults in the _mesa_init_teximage_fields() function. If needed, a driver will then have to replace these offsets. TexStore and TexelFetch routines updated to use offsets array. | ||||
* | Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format. | Brian Paul | 2006-04-06 | 1 | -17/+27 |
| | | | | | | | 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. | ||||
* | Fix the fetch_texel_ci8() code to deal with floating point color palettes. | Brian Paul | 2006-03-31 | 1 | -6/+49 |
| | | | | Fixes Quake on Windows bug. (Karl Schultz) | ||||
* | a few new assertions | Brian Paul | 2006-03-29 | 1 | -0/+3 |
| | |||||
* | s/IntFormat/InternalFormat/ and s/Format/_BaseFormat/ for gl_color_table. | Brian Paul | 2005-10-05 | 1 | -1/+1 |
| | |||||
* | fix broken z24_s8 fetcher | Brian Paul | 2005-10-01 | 1 | -4/+4 |
| | |||||
* | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | 2005-09-28 | 1 | -0/+24 |
| | | | | glReadPixels done, glDrawPixels mostly done. | ||||
* | Remove a bunch texel fetch functions that can be handled by the new | Brian Paul | 2005-09-15 | 1 | -491/+1 |
| | | | | adaptor functions. | ||||
* | simplify, clean-up texel addressing macros | Brian Paul | 2005-08-23 | 1 | -180/+129 |
| | |||||
* | Replace mult/div operators with bitwise operators in texel fetch routines | Brian Paul | 2005-08-18 | 1 | -24/+29 |
| | | | | for better performance. (Roland Scheidegger) | ||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -110/+620 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | just fix a comment and update date | Brian Paul | 2005-01-26 | 1 | -2/+2 |
| | |||||
* | RGB/LUMINANCE texelfetchers (float version) returned 255.0F for alpha ↵ | Daniel Borca | 2005-01-26 | 1 | -14/+14 |
| | | | | channel, instead of 1.0F | ||||
* | mask color indexes against palette size, per the spec | Brian Paul | 2004-12-03 | 1 | -2/+5 |
| | |||||
* | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | 2004-08-25 | 1 | -12/+24 |
| | | | | 1015696) | ||||
* | Another pass at implementing byte-swapped texture formats. | Brian Paul | 2004-05-13 | 1 | -180/+187 |
| | | | | | More code re-use this time. Most formats now tested/debugged with new packedpixels.c test. | ||||
* | yank bgr233 texformat. minor comment updates. | Brian Paul | 2004-05-12 | 1 | -25/+0 |
| | |||||
* | Added big-endian texture formats. | Brian Paul | 2004-05-12 | 1 | -114/+264 |
| | | | | Moved CI->RGBA palette lookup into texel fetch function. | ||||
* | Removed the old teximage code. | Brian Paul | 2004-04-27 | 1 | -109/+0 |
| | | | | | Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented). | ||||
* | New glTexImage code. | Brian Paul | 2004-04-22 | 1 | -32/+306 |
| | | | | | | | | 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. | ||||
* | fix error in rgb332 texel fetch function | Brian Paul | 2004-04-02 | 1 | -2/+2 |
| | |||||
* | Some initial RGB and RGBA floating point texture formats. | Brian Paul | 2004-01-24 | 1 | -43/+89 |
| | |||||
* | Initial support for floating point and signed texture formats. | Brian Paul | 2004-01-23 | 1 | -186/+546 |
| | | | | | | | 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. | ||||
* | fix comments about Cr==V, Cb==U | Brian Paul | 2003-11-18 | 1 | -2/+2 |
| |