Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-20 | In gl_texture_image, replace ImageStride with an ImageOffsets array. | Brian Paul | |
Some hardware lays out 3D mipmaps in a manner that can't be expressed with a simple image stride. The ImageOffsets array is allocated and initialized to typical defaults in the _mesa_init_teximage_fields() function. If needed, a driver will then have to replace these offsets. TexStore and TexelFetch routines updated to use offsets array. | |||
2006-05-09 | Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether | Brian Paul | |
all formats or just those without restrictions/limitations should be returned. We want all when validating the internalFormat parameter to glCompressedTexImage2D but only want unrestricted formats when handling the GL_COMPRESSED_TEXTURE_FORMATS query. | |||
2006-05-08 | More updates for texture compression. | Brian Paul | |
Added _mesa_compressed_texture_size_glenum() for validating the imageSize parameter to glCompressedTex[Sub]Image1/2/3() which does _not_ call ctx->Driver.CompressedTextureSize() - since that could return a padded size. | |||
2006-05-08 | Fix a number of texture compression issues. | Brian Paul | |
Pass the MESA_FORMAT_* token to the _mesa_compressed_row_stride(), _mesa_compressed_texture_size() and _mesa_compressed_image_address() functions since we want to use the driver-chosen format, not the user's internalFormat hint. Consolidate code related to choosing the texture format in texstoree.c | |||
2006-03-26 | merge from texman branch | Brian Paul | |
2006-03-20 | Lots of changes/fixes for rendering to framebuffer objects. | Brian Paul | |
- When deleting texture objects, unbind from FBOs if necessary. - Changed driver hooks for starting/ending render to texture. - Now properly handle case where gl[Copy]TexImage() is called after glFramebufferTexture[123]D(). That didn't work before. | |||
2006-03-20 | additional error checking to be sure source renderbuffer exists for ↵ | Brian Paul | |
glCopyTex[Sub]Image() | |||
2005-12-01 | added comment about glTexImage and renderbuffers | Brian Paul | |
2005-11-16 | Use new gl_framebuffer _Depth/_StencilBuffer fields instead of | Brian Paul | |
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points. | |||
2005-11-11 | Make _mesa_is_proxy_texture() non-static and use in a few more places. | Brian Paul | |
Use COPY_4FV() where possible. Added some comments, clean-ups. | |||
2005-11-05 | minor improvements in _mesa_init_teximage_fields() | Brian Paul | |
2005-10-05 | In gl_texture_image replace IntFormat with InternalFormat and Format with | Brian Paul | |
_BaseFormat to be consistant with gl_renderbuffer. | |||
2005-10-01 | additional error checking for GL_EXT_packed_depth_stencil | Brian Paul | |
2005-09-28 | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | |
glReadPixels done, glDrawPixels mostly done. | |||
2005-09-15 | New set_fetch_functions() to set a gl_texture_image's FetchTexel functions | Brian Paul | |
from the gl_texture_format's functions. Added "adaptor" functions to allow sampling a float-valued texture with GLchans and vice versa. This will allow trimming down the number of texture fetch routines. | |||
2005-09-08 | check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few places | Brian Paul | |
2005-07-05 | The old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries. | Brian Paul | |
Restore that behavior with new _mesa_alloc_texmemory() function. Should fix via_sse_memcpy() problem in found with flightgear. | |||
2005-06-27 | Get rid of the MESA_PBUFFER_ALLOC/FREE() macros. | Brian Paul | |
If that stuff is still needed, lots of other updates are needed anyway. Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes. | |||
2005-03-22 | add FreeTexImageData hook to help single-copy texturing in drivers | Keith Whitwell | |
2005-02-08 | indentation fix | Brian Paul | |
2005-02-05 | add a few comments | Brian Paul | |
2005-01-17 | allow more internalFormat/format combinations (i hope i got it right) | Daniel Borca | |
2004-12-20 | really protect against npot compressed textures (logbase2 never returns -1). | Daniel Borca | |
2004-12-12 | Added driver hooks for GetTexImage() and GetCompressedTexImage(). | Brian Paul | |
Added fallback _mesa_get_[compressed]_teximage() routines to texstore.c | |||
2004-12-10 | allow GetTexImage with RGBA format and COLOR_INDEX internalformat | Daniel Borca | |
2004-12-02 | Fix some warnings | Alan Hourihane | |
2004-11-22 | added GL_RED/GREEN/BLUE to is_color_format() | Brian Paul | |
2004-11-10 | GL_(UN)PACK_SKIP_IMAGES should only be applied to 3D texture pack/unpacking | Brian 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-31 | PBO support for glGetCompressedTexImage(). | Brian Paul | |
2004-10-31 | glGetTexImage() now works with PBOs. | Brian Paul | |
2004-10-08 | Reject unsupported texture formats passed to glCompressedTexImage?D. This | Ian Romanick | |
fixes Mesa bug #1028405. | |||
2004-09-23 | don't test for NULL pixels pointer here, do that in the 'store' routines ↵ | Brian Paul | |
after validating PBO address | |||
2004-08-25 | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | |
1015696) | |||
2004-07-02 | document some assumptions made about compressed texture tile size | Brian Paul | |
2004-06-19 | Big-endian texture fixes from Michel Dänzer. | Brian Paul | |
2004-06-15 | added more compressed formats to is_color_format() | Roland Scheidegger | |
2004-06-14 | added compressed formats to is_color_format() and updated some comments | Brian Paul | |
2004-06-11 | added GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes | Brian Paul | |
2004-06-10 | Additional 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-12 | Added big-endian texture formats. | Brian Paul | |
Moved CI->RGBA palette lookup into texel fetch function. | |||
2004-04-27 | Removed 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-22 | use FetchTexelf() in GetTexImage() to return float textures correctly | Brian Paul | |
2004-04-22 | New 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-28 | rename some span pack/unpack functions for better uniformity | Brian Paul | |
2004-01-27 | Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a single | Keith Whitwell | |
array, texObj->Image[face][level]. | |||
2004-01-24 | New error checking in _mesa_GetTexImage(). | Brian Paul | |
Updated comments and some better function parameter names. | |||
2004-01-23 | Initial 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-11 | add GL_TEXTURE_CUBE_MAP_ARB to _mesa_max_texture_levels(), reordered some ↵ | Brian Paul | |
comments | |||
2003-12-04 | Port over changes from XFree86/Mesa 5.0.2, mostly to silence compiler warnings. | Brian Paul | |
2003-11-21 | more texture compression | Daniel Borca | |