summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.h
Commit message (Collapse)AuthorAgeFilesLines
* Updates required for building the SciTech SNAP version of Mesa. This includes:Kendall Bennett2003-09-301-5/+5
| | | | | | | | | | | | | | | | | | | | | | | 1. Changes to the main header files to exclude some stuff is __SCITECH_SNAP__ is defined. The main GL/gl.h header file in SciTech SNAP is actually a wrapper that defines a bunch of necessary stuff and then included GL/gl_mesa.h which is the normal Mesa GL/gl.h header file renamed. 2. Changed APIENTRY * to APIENTRYP macros in the GL/gl.h and GL/glext.h header files. This will better support other compilers like IBM VisualAge C++. I added a basic macro for APIENTRYP to GL/gl.h (inside the !SNAP block), so existing code will compile the same, but when the SNAP version is being built we will use the correc definitions for the target compiler. 3. Changed a few more void * declarations to GLvoid *'s to avoid Open Watcom compiler complaints. 4. Updates the OPENGL_VERSION macro to include a patch number (set to 0 for now). Probably not necessary, but the original macro was wrong and we use that macro in our code. 5. Changed _tnl_end() to _tnl_end_ctx() to avoid conflicts with _tnl_End when using a compiler that has a case insensitive link.
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-5/+7
|
* Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, heightBrian Paul2003-04-041-10/+2
| | | | | and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows more flexiblity, like supporting larger, non-cubic 3D textures.
* new texture compression infrastructureBrian Paul2002-09-271-5/+28
|
* fixed _mesa_generate_mipmaps() target problemBrian Paul2002-09-161-4/+4
|
* Enable GL_ARB_texture_compression for XMesa/GLX driver. TextureBrian Paul2001-06-151-1/+8
| | | | | compression isn't really implmented. Just updated glTexImageXD() to accept compressed internal format tokens.
* initial support for GL_SGIS_generate_mipmap extensionBrian Paul2001-05-211-1/+6
|
* Fixed a texture conversion problem: sometimes need to produce an intermediateBrian Paul2001-04-201-1/+2
| | | | | texture image in the base internal format between user->Mesa format conversion. See comments in texstore.c
* More texture image changes.Brian Paul2001-04-041-2/+3
| | | | | | | | | | | | 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.
* renamed some vars, added a bunch of commentsBrian Paul2001-03-211-2/+2
|
* depth images were broken by latest teximage changes, this fixes the problemBrian Paul2001-03-211-2/+2
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-31/+1
|
* Updated Driver.CopyTexImage[12]D and Driver.CopyTexSubImage[123]D functionsBrian Paul2001-02-191-1/+30
| | | | | so they work like the other teximage functions. Added fallback routines to texstore.c for drivers to use.
* Overhaul of texture image handling.Brian Paul2001-02-061-0/+143
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.