summaryrefslogtreecommitdiff
path: root/src/mesa/main/texformat.c
AgeCommit message (Collapse)Author
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-05-13Another pass at implementing byte-swapped texture formats.Brian Paul
More code re-use this time. Most formats now tested/debugged with new packedpixels.c test.
2004-05-12yank bgr233 texformat. minor comment updates.Brian Paul
2004-05-12Added big-endian texture formats.Brian Paul
Moved CI->RGBA palette lookup into texel fetch function.
2004-04-27Removed the old teximage code.Brian Paul
Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
2004-04-27transfer routines for compressed formats (avoid SEGFAULT, also prepare for ↵Daniel Borca
external packers)
2004-04-22s,CHAN_BITS/8,sizeof(GLchan),Brian Paul
2004-04-22fix some include file glitchesBrian Paul
2004-04-22New glTexImage code.Brian Paul
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.
2004-01-24Some initial RGB and RGBA floating point texture formats.Brian Paul
2004-01-23Initial support for floating point and signed texture formats.Brian Paul
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.
2003-11-21more texture compressionDaniel Borca
2003-10-29texture compressionDaniel Borca
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-04-03some texture compression odds & endsBrian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2002-10-29updated email addressesBrian Paul
2002-10-24Header file clean-up:Brian Paul
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.
2002-09-27new texture compression infrastructureBrian Paul
2002-09-21updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)Brian Paul
2002-07-09Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul
indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
2002-06-29Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul
Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2001-06-15Enable GL_ARB_texture_compression for XMesa/GLX driver. TextureBrian Paul
compression isn't really implmented. Just updated glTexImageXD() to accept compressed internal format tokens.
2001-04-20Fixed a texture conversion problem: sometimes need to produce an intermediateBrian Paul
texture image in the base internal format between user->Mesa format conversion. See comments in texstore.c
2001-04-04replaced IntFormat GL_BGRA with GL_RGBA, fixes problems calling ↵Brian Paul
_mesa_base_texture_format()
2001-04-04More texture image changes.Brian Paul
1. Added ctx->Driver.ChooseTextureFormat() function. Examines user's internalFormat, format, type params and returns a gl_texture_format. 2. _mesa_store_teximage[123]d() calls ctx->Driver.ChooseTextureFormat(), allocates storage and transfers the image into the desired format. 3. _mesa_transfer_teximage() now takes a gl_texture_format to describe the destination format. Any combination of input format/type and output gl_texture_format is accepted. Uses optimized _mesa_convert_- texsubimage[123]d() functions when possible. 3. DRI driver's TexImage[123]D functions should be a lot simpler now.
2001-03-30Remove all traces of CULL_MASK_ACTIVE.Gareth Hughes
2001-03-28More texture format updates. Drivers now need only plug an appropriateGareth Hughes
format into texImage->TexFormat, the rest is handled by core Mesa.
2001-03-27fixed RGBA/RGB typoBrian Paul
2001-03-27Updates required for DRI drivers on mesa-3-5-branch.Gareth Hughes
2001-03-18Remove old code, fix a few comments.Gareth Hughes
2001-03-18- Port 3.4 texture utils, texture format work to 3.5 (including newGareth Hughes
FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.