summaryrefslogtreecommitdiff
path: root/src/mesa/main/teximage.c
AgeCommit message (Collapse)Author
2004-11-22added GL_RED/GREEN/BLUE to is_color_format()Brian Paul
2004-11-10GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpackingBrian Paul
and ignored for 1D and 2D images. Need to pass in image dimensions (1,2,3) to the _mesa_image_address() function. This change gets propogated to some other routines. Also added new _mesa_image_address[123]d() convenience functions.
2004-10-31PBO support for glGetCompressedTexImage().Brian Paul
2004-10-31glGetTexImage() now works with PBOs.Brian Paul
2004-10-08Reject unsupported texture formats passed to glCompressedTexImage?D. ThisIan Romanick
fixes Mesa bug #1028405.
2004-09-23don't test for NULL pixels pointer here, do that in the 'store' routines ↵Brian Paul
after validating PBO address
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-07-02document some assumptions made about compressed texture tile sizeBrian Paul
2004-06-19Big-endian texture fixes from Michel Dänzer.Brian Paul
2004-06-15added more compressed formats to is_color_format()Roland Scheidegger
2004-06-14added compressed formats to is_color_format() and updated some commentsBrian Paul
2004-06-11added GL_BGR and GL_BGRA to is_color_format() (Ronny VindenesBrian Paul
2004-06-10Additional error checking for glTexImageXD.Brian Paul
Only allow 1D and 2D GL_DEPTH_COMPONENT textures. Make sure internal format and user format are in same catagory.
2004-05-12Added big-endian texture formats.Brian Paul
Moved CI->RGBA palette lookup into texel fetch function.
2004-04-27Removed the old teximage code.Brian Paul
Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented).
2004-04-22use FetchTexelf() in GetTexImage() to return float textures correctlyBrian Paul
2004-04-22New glTexImage code.Brian Paul
The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
2004-02-28rename some span pack/unpack functions for better uniformityBrian Paul
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2004-01-24New error checking in _mesa_GetTexImage().Brian Paul
Updated comments and some better function parameter names.
2004-01-23Initial support for floating point and signed texture formats.Brian Paul
New "FetchTexelFuncF()" function returns texels in floating point format. Only used for depth component images at this time. Changed original FetchTexelFunc to return GLchan instead of GLvoid, removing need for a bunch of ugly casts.
2004-01-11add GL_TEXTURE_CUBE_MAP_ARB to _mesa_max_texture_levels(), reordered some ↵Brian Paul
comments
2003-12-04Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings.Brian Paul
2003-11-21more texture compressionDaniel Borca
2003-10-29texture compressionDaniel Borca
2003-10-21Added GLAPIENTRY decorations for all first level OpenGL API function entryKendall Bennett
points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler.
2003-09-12Allow glTexImage1/2/3D to specify width/height/depth = 0.Brian Paul
This allows texture state to be resettable to default state. Not allowed according to the spec, but allowed by all other OpenGL libs.
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-07-07fix conformance glitch introduced with NPOT extensionBrian Paul
2003-07-03Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation).Brian Paul
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.