Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: refactor: move #define FEATURE flags into new mfeatures.h file | Brian Paul | 2008-06-10 | 1 | -1/+20 |
| | | | | Also, check the FEATURE flags in many places. | ||||
* | Fix some PBO breakage. | Brian | 2008-03-21 | 1 | -3/+0 |
| | | | | | In _mesa_Bitmap, can't early return if bitmap ptr is NULL, it may be an offset into a PBO. Similarly for _mesa_GetTexImage. | ||||
* | fix Height2/Depth2 init problem when using texture borders | Brian | 2008-03-10 | 1 | -6/+17 |
| | |||||
* | added _mesa_tex_target_to_face() | Brian | 2008-02-11 | 1 | -7/+13 |
| | |||||
* | Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in ↵ | Brian | 2007-09-26 | 1 | -7/+23 |
| | | | | | | the drivers. This should probably be pulled into main-line Mesa... | ||||
* | fix width/depth mix-up (bug 11577) | Brian | 2007-07-12 | 1 | -1/+1 |
| | |||||
* | Fix size test bug in _mesa_test_proxy_teximage(). | Brian | 2007-07-08 | 1 | -13/+17 |
| | | | | | | | width/height/depth == 0 is a legal texture size (no error generated). Later, the texture will be considered incomplete, however, and texturing will effectively be disabled. See bug 11309. | ||||
* | fix an error string, refactor _mesa_GetCompressedTexImageARB() to get rid of ↵ | Brian | 2007-06-12 | 1 | -17/+17 |
| | | | | a goto | ||||
* | Replace texobj->Complete with texobj->_Complete since it's a derived field. | Brian | 2007-06-11 | 1 | -8/+8 |
| | |||||
* | Add missing _EXT suffix to 2D_ARRAY target enums. | Ian Romanick | 2007-05-17 | 1 | -2/+2 |
| | |||||
* | Add array texture targets to list that can use compressed formats. | Ian Romanick | 2007-05-17 | 1 | -1/+4 |
| | |||||
* | Refactor determining whether a texture target can use compressed format | Ian Romanick | 2007-05-17 | 1 | -25/+19 |
| | |||||
* | Initial implementation of MESA_texture_array | Ian Romanick | 2007-05-16 | 1 | -9/+143 |
| | | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though. | ||||
* | Refactor the way TestProxyTexImage is called in texture_error_check. | Ian Romanick | 2007-05-10 | 1 | -22/+15 |
| | |||||
* | Ensure we have a valid ReadBuffer for CopyTexSubImage, and | Alan Hourihane | 2007-03-22 | 1 | -6/+6 |
| | | | | | | if not bail accordingly. Previously we'd only do this test on compressed textures. | ||||
* | s/GLchan/GLubyte/ in debug code | Brian Paul | 2006-11-02 | 1 | -3/+3 |
| | |||||
* | Merge texmem-0-3-branch. | Keith Whitwell | 2006-11-01 | 1 | -452/+628 |
| | |||||
* | minor formatting fix | Brian Paul | 2006-10-04 | 1 | -1/+1 |
| | |||||
* | more work for GL_EXT_texture_sRGB. | Brian Paul | 2006-08-04 | 1 | -0/+72 |
| | |||||
* | For glGetTexImage(), move the _mesa_validate_pbo_access() error check into | Brian Paul | 2006-07-19 | 1 | -0/+12 |
| | | | | _mesa_GetTexImage() so it's not needed in the fallback or driver functions. | ||||
* | indentation fix | Brian Paul | 2006-07-18 | 1 | -5/+5 |
| | |||||
* | add missing 'return' after a few _mesa_error() calls in _mesa_GetTexImage() | Brian Paul | 2006-07-18 | 1 | -1/+5 |
| | |||||
* | fix size assertions in _mesa_init_teximage_fields() | Brian Paul | 2006-06-13 | 1 | -3/+3 |
| | |||||
* | fix depth-component test to allow rectangular textures | Brian Paul | 2006-06-02 | 1 | -2/+4 |
| | |||||
* | In gl_texture_image, replace ImageStride with an ImageOffsets array. | Brian Paul | 2006-05-20 | 1 | -5/+25 |
| | | | | | | | | | 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. | ||||
* | Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether | Brian Paul | 2006-05-09 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | More updates for texture compression. | Brian Paul | 2006-05-08 | 1 | -25/+28 |
| | | | | | | 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. | ||||
* | Fix a number of texture compression issues. | Brian Paul | 2006-05-08 | 1 | -7/+6 |
| | | | | | | | | 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 | ||||
* | merge from texman branchmesa_20060325 | Brian Paul | 2006-03-26 | 1 | -3/+6 |
| | |||||
* | Lots of changes/fixes for rendering to framebuffer objects. | Brian Paul | 2006-03-20 | 1 | -7/+58 |
| | | | | | | | - 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. | ||||
* | additional error checking to be sure source renderbuffer exists for ↵ | Brian Paul | 2006-03-20 | 1 | -2/+36 |
| | | | | glCopyTex[Sub]Image() | ||||
* | added comment about glTexImage and renderbuffers | Brian Paul | 2005-12-01 | 1 | -0/+6 |
| | |||||
* | Use new gl_framebuffer _Depth/_StencilBuffer fields instead of | Brian Paul | 2005-11-16 | 1 | -6/+4 |
| | | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points. | ||||
* | Make _mesa_is_proxy_texture() non-static and use in a few more places. | Brian Paul | 2005-11-11 | 1 | -13/+7 |
| | | | | | Use COPY_4FV() where possible. Added some comments, clean-ups. | ||||
* | minor improvements in _mesa_init_teximage_fields() | Brian Paul | 2005-11-05 | 1 | -9/+9 |
| | |||||
* | In gl_texture_image replace IntFormat with InternalFormat and Format with | Brian Paul | 2005-10-05 | 1 | -11/+11 |
| | | | | _BaseFormat to be consistant with gl_renderbuffer. | ||||
* | additional error checking for GL_EXT_packed_depth_stencil | Brian Paul | 2005-10-01 | 1 | -13/+50 |
| | |||||
* | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | 2005-09-28 | 1 | -1/+39 |
| | | | | glReadPixels done, glDrawPixels mostly done. | ||||
* | New set_fetch_functions() to set a gl_texture_image's FetchTexel functions | Brian Paul | 2005-09-15 | 1 | -40/+0 |
| | | | | | | | 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. | ||||
* | check for either GL_ARB_depth_texture or GL_SGIX_depth_texture in a few places | Brian Paul | 2005-09-08 | 1 | -3/+5 |
| | |||||
* | The old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries. | Brian Paul | 2005-07-05 | 1 | -2/+27 |
| | | | | | Restore that behavior with new _mesa_alloc_texmemory() function. Should fix via_sse_memcpy() problem in found with flightgear. | ||||
* | Get rid of the MESA_PBUFFER_ALLOC/FREE() macros. | Brian Paul | 2005-06-27 | 1 | -1/+1 |
| | | | | | If that stuff is still needed, lots of other updates are needed anyway. Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes. | ||||
* | add FreeTexImageData hook to help single-copy texturing in drivers | Keith Whitwell | 2005-03-22 | 1 | -35/+49 |
| | |||||
* | indentation fix | Brian Paul | 2005-02-08 | 1 | -6/+7 |
| | |||||
* | add a few comments | Brian Paul | 2005-02-05 | 1 | -0/+5 |
| | |||||
* | allow more internalFormat/format combinations (i hope i got it right) | Daniel Borca | 2005-01-17 | 1 | -2/+5 |
| | |||||
* | 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 |
| |