summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.c
Commit message (Collapse)AuthorAgeFilesLines
* silence compiler warnings (last batch for src)Karl Schultz2001-09-191-15/+15
|
* check for pixels=NULL in _mesa_store_teximage[123]d()Brian Paul2001-07-231-37/+49
|
* Various 16-bit GLchan fixes and Win32 fixes (Gerk Huisma)Brian Paul2001-07-161-19/+21
|
* assorted changes for supporting GLfloat color channels (not done)Brian Paul2001-07-131-18/+18
|
* silence a warningBrian Paul2001-07-131-1/+3
|
* Enable GL_ARB_texture_compression for XMesa/GLX driver. TextureBrian Paul2001-06-151-7/+63
| | | | | compression isn't really implmented. Just updated glTexImageXD() to accept compressed internal format tokens.
* Allow different max texture sizes for 1/2D, 3D and cube maps.Brian Paul2001-06-131-2/+7
|
* Finished GL_SGIS_generate_mipmap. Should be trivial to enable in DRI drivers.Brian Paul2001-05-241-165/+348
|
* a little more work on GL_SGIS_generate_mipmapBrian Paul2001-05-221-5/+192
|
* initial support for GL_SGIS_generate_mipmap extensionBrian Paul2001-05-211-1/+409
|
* Fixed a texture conversion problem: sometimes need to produce an intermediateBrian Paul2001-04-201-33/+101
| | | | | texture image in the base internal format between user->Mesa format conversion. See comments in texstore.c
* fixed tmpTexelSize computation bugBrian Paul2001-04-041-3/+2
|
* More texture image changes.Brian Paul2001-04-041-37/+209
| | | | | | | | | | | | 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.
* More texture format updates. Drivers now need only plug an appropriateGareth Hughes2001-03-281-17/+5
| | | | format into texImage->TexFormat, the rest is handled by core Mesa.
* texFormat was a random value in _mesa_store_teximage3d(), fix by undoing ↵Brian Paul2001-03-271-4/+3
| | | | last changes
* Updates required for DRI drivers on mesa-3-5-branch.Gareth Hughes2001-03-271-5/+13
|
* renamed some vars, added a bunch of commentsBrian Paul2001-03-211-11/+11
|
* depth images were broken by latest teximage changes, this fixes the problemBrian Paul2001-03-211-19/+20
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-355/+1
|
* Add missing header file include.Gareth Hughes2001-03-181-1/+2
|
* Remove #endif.Gareth Hughes2001-03-181-2/+1
|
* Remove old code, fix a few comments.Gareth Hughes2001-03-181-402/+5
|
* - Port 3.4 texture utils, texture format work to 3.5 (including newGareth Hughes2001-03-181-60/+24
| | | | | FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-2/+1
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-7/+7
| | | | of potential problems
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-18/+18
|
* fixed GL_LUMINANCE_ALPHA bug in fetch_2d_texel()Brian Paul2001-02-211-4/+4
|
* Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functionsBrian Paul2001-02-191-3/+412
| | | | | so they work like the other teximage functions. Added fallback routines to texstore.c for drivers to use.
* Changed FetchTexel() function pointer arguments.Brian Paul2001-02-171-213/+168
| | | | | | | Implemented glGetTexImage(format=GL_COLOR_INDEX). Changed _mesa_unpack_depth_span() args. Minor changes/clean-ups in mtypes.h. Histogram counter component sizes were wrong.
* Work in glGetTexImage() to return GL_COLOR_INDEX images.Brian Paul2001-02-171-14/+117
| | | | Prototype code for GL_SGIX_depth_texture / more flexible teximage code.
* GLchan fixesBrian Paul2001-02-071-4/+4
|
* remove unused functionsBrian Paul2001-02-071-44/+1
|
* made some changes to the initialization of gl_texture_image fieldsBrian Paul2001-02-071-56/+17
|
* Overhaul of texture image handling.Brian Paul2001-02-061-0/+1068
1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet.