summaryrefslogtreecommitdiff
path: root/src/mesa/main/texformat.c
AgeCommit message (Collapse)AuthorFilesLines
2001-06-15Enable GL_ARB_texture_compression for XMesa/GLX driver. TextureBrian Paul1-9/+86
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 Paul1-22/+22
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 Paul1-4/+4
_mesa_base_texture_format()
2001-04-04More texture image changes.Brian Paul1-39/+26
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 Hughes1-4/+4
2001-03-28More texture format updates. Drivers now need only plug an appropriateGareth Hughes1-71/+64
format into texImage->TexFormat, the rest is handled by core Mesa.
2001-03-27fixed RGBA/RGB typoBrian Paul1-2/+2
2001-03-27Updates required for DRI drivers on mesa-3-5-branch.Gareth Hughes1-36/+63
2001-03-18Remove old code, fix a few comments.Gareth Hughes1-6/+5
2001-03-18- Port 3.4 texture utils, texture format work to 3.5 (including newGareth Hughes1-0/+566
FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.