Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | really protect against npot compressed textures (logbase2 never returns -1). | Daniel Borca | 2004-12-20 | 1 | -3/+3 |
| | |||||
* | Added driver hooks for GetTexImage() and GetCompressedTexImage(). | Brian Paul | 2004-12-12 | 1 | -158/+5 |
| | | | | Added fallback _mesa_get_[compressed]_teximage() routines to texstore.c | ||||
* | allow GetTexImage with RGBA format and COLOR_INDEX internalformat | Daniel Borca | 2004-12-10 | 1 | -2/+4 |
| | |||||
* | Fix some warnings | Alan Hourihane | 2004-12-02 | 1 | -2/+0 |
| | |||||
* | added GL_RED/GREEN/BLUE to is_color_format() | Brian Paul | 2004-11-22 | 1 | -0/+3 |
| | |||||
* | GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking | Brian Paul | 2004-11-10 | 1 | -2/+5 |
| | | | | | | | 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. | ||||
* | PBO support for glGetCompressedTexImage(). | Brian Paul | 2004-10-31 | 1 | -2/+37 |
| | |||||
* | glGetTexImage() now works with PBOs. | Brian Paul | 2004-10-31 | 1 | -7/+32 |
| | |||||
* | Reject unsupported texture formats passed to glCompressedTexImage?D. This | Ian Romanick | 2004-10-08 | 1 | -0/+3 |
| | | | | fixes Mesa bug #1028405. | ||||
* | don't test for NULL pixels pointer here, do that in the 'store' routines ↵ | Brian Paul | 2004-09-23 | 1 | -6/+9 |
| | | | | after validating PBO address | ||||
* | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | 2004-08-25 | 1 | -0/+2 |
| | | | | 1015696) | ||||
* | document some assumptions made about compressed texture tile size | Brian Paul | 2004-07-02 | 1 | -0/+6 |
| | |||||
* | Big-endian texture fixes from Michel Dänzer. | Brian Paul | 2004-06-19 | 1 | -0/+1 |
| | |||||
* | added more compressed formats to is_color_format() | Roland Scheidegger | 2004-06-15 | 1 | -0/+4 |
| | |||||
* | added compressed formats to is_color_format() and updated some comments | Brian Paul | 2004-06-14 | 1 | -14/+27 |
| | |||||
* | added GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes | Brian Paul | 2004-06-11 | 1 | -0/+2 |
| | |||||
* | Additional error checking for glTexImageXD. | Brian Paul | 2004-06-10 | 1 | -7/+31 |
| | | | | | Only allow 1D and 2D GL_DEPTH_COMPONENT textures. Make sure internal format and user format are in same catagory. | ||||
* | Added big-endian texture formats. | Brian Paul | 2004-05-12 | 1 | -9/+34 |
| | | | | Moved CI->RGBA palette lookup into texel fetch function. | ||||
* | Removed the old teximage code. | Brian Paul | 2004-04-27 | 1 | -12/+9 |
| | | | | | Moved all code related to specific texture compression modes into new texcompress_s3tc.c and texcompress_fxt1.c files (but not implemented). | ||||
* | use FetchTexelf() in GetTexImage() to return float textures correctly | Brian Paul | 2004-04-22 | 1 | -5/+6 |
| | |||||
* | New glTexImage code. | Brian Paul | 2004-04-22 | 1 | -82/+115 |
| | | | | | | | | 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. | ||||
* | rename some span pack/unpack functions for better uniformity | Brian Paul | 2004-02-28 | 1 | -1/+1 |
| | |||||
* | Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single | Keith Whitwell | 2004-01-27 | 1 | -58/+34 |
| | | | | array, texObj->Image[face][level]. | ||||
* | New error checking in _mesa_GetTexImage(). | Brian Paul | 2004-01-24 | 1 | -23/+82 |
| | | | | Updated comments and some better function parameter names. | ||||
* | Initial support for floating point and signed texture formats. | Brian Paul | 2004-01-23 | 1 | -33/+49 |
| | | | | | | | 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. | ||||
* | add GL_TEXTURE_CUBE_MAP_ARB to _mesa_max_texture_levels(), reordered some ↵ | Brian Paul | 2004-01-11 | 1 | -13/+15 |
| | | | | comments | ||||
* | Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings. | Brian Paul | 2003-12-04 | 1 | -12/+1 |
| | |||||
* | more texture compression | Daniel Borca | 2003-11-21 | 1 | -0/+16 |
| | |||||
* | texture compression | Daniel Borca | 2003-10-29 | 1 | -6/+25 |
| | |||||
* | Added GLAPIENTRY decorations for all first level OpenGL API function entry | Kendall Bennett | 2003-10-21 | 1 | -20/+20 |
| | | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler. | ||||
* | Allow glTexImage1/2/3D to specify width/height/depth = 0. | Brian Paul | 2003-09-12 | 1 | -5/+7 |
| | | | | | This allows texture state to be resettable to default state. Not allowed according to the spec, but allowed by all other OpenGL libs. | ||||
* | Merge Jose's documentation and core Mesa changes from embedded branch | Keith Whitwell | 2003-07-17 | 1 | -54/+189 |
| | |||||
* | fix conformance glitch introduced with NPOT extension | Brian Paul | 2003-07-07 | 1 | -0/+8 |
| | |||||
* | Implemented GL_ARB_texture_non_power_of_two (except for auto mipmap generation). | Brian Paul | 2003-07-03 | 1 | -21/+42 |
| | |||||
* | Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, height | Brian Paul | 2003-04-04 | 1 | -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 Paul | 2003-04-01 | 1 | -3/+2 |
| | |||||
* | New device driver hooks for texture object and texture image creation to | Brian Paul | 2003-04-01 | 1 | -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 Paul | 2003-03-01 | 1 | -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 Paul | 2003-01-08 | 1 | -8/+15 |
| | |||||
* | s/sprintf/_mesa_sprintf/ | Brian Paul | 2002-10-30 | 1 | -3/+3 |
| | |||||
* | Header file clean-up: | Brian Paul | 2002-10-24 | 1 | -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 yet | Brian Paul | 2002-10-18 | 1 | -26/+40 |
| | |||||
* | only allow intformat==GL_COLOR_INDEX if EXT_paletted_texture is supported | Brian Paul | 2002-10-18 | 1 | -2/+5 |
| | |||||
* | Add casts to quiet compiler warnings. | Karl Schultz | 2002-10-17 | 1 | -14/+14 |
| | |||||
* | check texImage->IsClientData before freeing memory | Brian Paul | 2002-10-10 | 1 | -18/+18 |
| | |||||
* | better error checking related to YCbCr images | Brian Paul | 2002-10-02 | 1 | -17/+44 |
| | |||||
* | new texture compression infrastructure | Brian Paul | 2002-09-27 | 1 | -284/+500 |
| | |||||
* | merge gl_texture_image RowStride from DRI 4.0.4 | Brian Paul | 2002-09-23 | 1 | -3/+7 |
| | |||||
* | updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc) | Brian Paul | 2002-09-21 | 1 | -3/+42 |
| | |||||
* | fixed pixel pack bug in glGetTexImage() | Brian Paul | 2002-09-14 | 1 | -3/+3 |
| |