summaryrefslogtreecommitdiff
path: root/src/mesa/main/teximage.c
AgeCommit message (Collapse)Author
2003-04-04Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, heightBrian Paul
and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows more flexiblity, like supporting larger, non-cubic 3D textures.
2003-04-01added GL_PROXY_TEXTURE_RECTANGLE_NV to is_proxy_target()Brian Paul
2003-04-01New device driver hooks for texture object and texture image creation toBrian Paul
allow drivers to implement C++-like inheritance via containment. Lots of assorted clean-ups related to texture objects.
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
2003-01-08fix glCopyTexSubImage2D error checking (bug 661907)Brian Paul
2002-10-30s/sprintf/_mesa_sprintf/Brian 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-10-18new _mesa_max_texture_levels() helper function - not used everywhere yetBrian Paul
2002-10-18only allow intformat==GL_COLOR_INDEX if EXT_paletted_texture is supportedBrian Paul
2002-10-17Add casts to quiet compiler warnings.Karl Schultz
2002-10-10check texImage->IsClientData before freeing memoryBrian Paul
2002-10-02better error checking related to YCbCr imagesBrian Paul
2002-09-27new texture compression infrastructureBrian Paul
2002-09-23merge gl_texture_image RowStride from DRI 4.0.4Brian Paul
2002-09-21updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc)Brian Paul
2002-09-14fixed pixel pack bug in glGetTexImage()Brian Paul
2002-09-06incorrect dimenstion passed to texture_error_check() in compressed teximage ↵Brian Paul
functions
2002-09-03improved error stringBrian 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-15Implemented GL_NV_texture_rectangle extension.Brian Paul
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.
2002-04-23call _mesa_sizeof_packed_type() in _mesa_GetTexImage() (bug 547203)Brian Paul
2002-03-19Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and textureBrian Paul
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.
2001-11-18API dispath updatesBrian Paul
2001-11-03fix error in error checking conditional (bug 476846)Brian Paul
2001-09-18more compiler warning fixesKarl Schultz
2001-07-26fixes for proxy cube map texture imagesBrian Paul
2001-07-23don't make default teximage if glTexImage's pixels=NULL (Gerk Huisma)Brian Paul
2001-07-16Various 16-bit GLchan fixes and Win32 fixes (Gerk Huisma)Brian Paul
2001-07-13assorted changes for supporting GLfloat color channels (not done)Brian Paul
2001-07-13replace _NEW_PIXEL with _IMAGE_NEW_TRANSFER_STATE to catch color matrix changesBrian Paul
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-06-13Allow different max texture sizes for 1/2D, 3D and cube maps.Brian Paul
2001-06-12disable pixel transfer ops for glGetTexImage(), per the specBrian Paul
2001-05-24Finished GL_SGIS_generate_mipmap. Should be trivial to enable in DRI drivers.Brian Paul
2001-05-21initial support for GL_SGIS_generate_mipmap extensionBrian Paul
2001-04-24assign texImage->FetchTexel only if NULLBrian Paul
2001-04-19bug fixes, added missing state query casesBrian Paul
2001-03-30add texture border width to x/y/zoffset in gl[Copy]TexSubImage*D() functions ↵Brian Paul
to accomodate negative offsets correctly
2001-03-30texImage->FetchTexel wasn't getting initialized in _mesa_CopyTexImage1/2D()Brian Paul
2001-03-28- Restore texImage->IntFormat.Gareth Hughes
- Fix FX driver texture image conversions.
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-26change glTexImage3D() internalFormat to GLenum to match other OpenGLsBrian Paul
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
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.
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-05added missing ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH() macrosBrian Paul
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-27signal _NEW_TEXTURE in all teximage functionsBrian Paul