summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell2003-07-171-54/+189
|
* fix conformance glitch introduced with NPOT extensionBrian Paul2003-07-071-0/+8
|
* Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).Brian Paul2003-07-031-21/+42
|
* Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, heightBrian Paul2003-04-041-288/+270
| | | | | and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows more flexiblity, like supporting larger, non-cubic 3D textures.
* added GL_PROXY_TEXTURE_RECTANGLE_NV to is_proxy_target()Brian Paul2003-04-011-3/+2
|
* New device driver hooks for texture object and texture image creation toBrian Paul2003-04-011-88/+173
| | | | | allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-2/+1
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* fix glCopyTexSubImage2D error checking (bug 661907)Brian Paul2003-01-081-8/+15
|
* s/sprintf/_mesa_sprintf/Brian Paul2002-10-301-3/+3
|
* Header file clean-up:Brian Paul2002-10-241-13/+8
| | | | | | | | 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.
* new _mesa_max_texture_levels() helper function - not used everywhere yetBrian Paul2002-10-181-26/+40
|
* only allow intformat==GL_COLOR_INDEX if EXT_paletted_texture is supportedBrian Paul2002-10-181-2/+5
|
* Add casts to quiet compiler warnings.Karl Schultz2002-10-171-14/+14
|
* check texImage->IsClientData before freeing memoryBrian Paul2002-10-101-18/+18
|
* better error checking related to YCbCr imagesBrian Paul2002-10-021-17/+44
|
* new texture compression infrastructureBrian Paul2002-09-271-284/+500
|
* merge gl_texture_image RowStride from DRI 4.0.4Brian Paul2002-09-231-3/+7
|
* updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)Brian Paul2002-09-211-3/+42
|
* fixed pixel pack bug in glGetTexImage()Brian Paul2002-09-141-3/+3
|
* incorrect dimenstion passed to texture_error_check() in compressed teximage ↵Brian Paul2002-09-061-4/+4
| | | | functions
* improved error stringBrian Paul2002-09-031-2/+5
|
* Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul2002-07-091-2/+1
| | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
* Applied Matt Sealey's patch to remove/isolate all stdio.h function calls.Brian Paul2002-06-291-100/+68
| | | | Instead of mstdio.[ch], use imports.[ch] to isolate these functions.
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-47/+187
| | | | | | | | | Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
* call _mesa_sizeof_packed_type() in _mesa_GetTexImage() (bug 547203)Brian Paul2002-04-231-3/+3
|
* Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and textureBrian Paul2002-03-191-12/+12
| | | | | | | memory. These can be overridden by applications which need to manage this memory specially. Contributed by Gerk Huisma. Also, new code for 8-bit -> 16-bit/channel texture image storage which fills in the least-significant bits properly.
* API dispath updatesBrian Paul2001-11-181-2/+2
|
* fix error in error checking conditional (bug 476846)Brian Paul2001-11-031-2/+2
|
* more compiler warning fixesKarl Schultz2001-09-181-7/+7
|
* fixes for proxy cube map texture imagesBrian Paul2001-07-261-2/+4
|
* don't make default teximage if glTexImage's pixels=NULL (Gerk Huisma)Brian Paul2001-07-231-1/+27
|
* Various 16-bit GLchan fixes and Win32 fixes (Gerk Huisma)Brian Paul2001-07-161-1/+3
|
* assorted changes for supporting GLfloat color channels (not done)Brian Paul2001-07-131-1/+5
|
* replace _NEW_PIXEL with _IMAGE_NEW_TRANSFER_STATE to catch color matrix changesBrian Paul2001-07-131-12/+12
|
* Enable GL_ARB_texture_compression for XMesa/GLX driver. TextureBrian Paul2001-06-151-8/+67
| | | | | 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-33/+105
|
* disable pixel transfer ops for glGetTexImage(), per the specBrian Paul2001-06-121-85/+6
|
* Finished GL_SGIS_generate_mipmap. Should be trivial to enable in DRI drivers.Brian Paul2001-05-241-1/+3
|
* initial support for GL_SGIS_generate_mipmap extensionBrian Paul2001-05-211-41/+43
|
* assign texImage->FetchTexel only if NULLBrian Paul2001-04-241-6/+21
|
* bug fixes, added missing state query casesBrian Paul2001-04-191-1/+2
|
* add texture border width to x/y/zoffset in gl[Copy]TexSubImage*D() functions ↵Brian Paul2001-03-301-1/+46
| | | | to accomodate negative offsets correctly
* texImage->FetchTexel wasn't getting initialized in _mesa_CopyTexImage1/2D()Brian Paul2001-03-301-1/+12
|
* - Restore texImage->IntFormat.Gareth Hughes2001-03-281-2/+4
| | | | - Fix FX driver texture image conversions.
* More texture format updates. Drivers now need only plug an appropriateGareth Hughes2001-03-281-59/+39
| | | | format into texImage->TexFormat, the rest is handled by core Mesa.
* change glTexImage3D() internalFormat to GLenum to match other OpenGLsBrian Paul2001-03-261-6/+7
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-1/+7
|
* - Port 3.4 texture utils, texture format work to 3.5 (including newGareth Hughes2001-03-181-21/+8
| | | | | FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic.
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-2/+2
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-45/+44
| | | | of potential problems