Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-05-01 | mesa: fix state validation bug for glCopyTex[Sub]Image() | Brian Paul | 1 | -5/+16 | |
We need to make sure the framebuffer state is up to date to make sure we read pixels from the right buffer when doing a texture image copy. (cherry-picked from master, commit 63f01309801c5a900d8d7f5ccd63413e33ff9bff) | |||||
2009-03-13 | mesa: use an array for current texture objects | Brian Paul | 1 | -7/+7 | |
Use loops to consolidate lots of texture object code. (cherry picked from commit 9818734e0148510967ca9ee0d1aa8b196b509f02) | |||||
2009-03-13 | mesa: minor error msg improvement (cherry picked from commit ↵ | Brian Paul | 1 | -1/+2 | |
803504e69fbd85713fc6d93af21f5245852cecab) | |||||
2009-01-30 | mesa: fix incorrect call to clear_teximage_fields() in _mesa_TexImage2D() | Brian Paul | 1 | -1/+1 | |
Fixes failed assertion / segfault for particular proxy texture tests. (cherry picked from master, commit ea4b183b8c3730ec2c6b5152cad1a68889634487) | |||||
2008-11-10 | mesa: new _mesa_is_pow_two() function | Brian | 1 | -18/+18 | |
2008-10-22 | mesa: move convolution image adjustment code for glCopyTexSubImage1/2/3D() | Brian Paul | 1 | -15/+21 | |
Do it after initial error checking, after we know the texture's internal format. | |||||
2008-10-22 | mesa: some re-org of glCopyTexSubImage1/2/3D() error checking | Brian Paul | 1 | -33/+32 | |
2008-10-22 | mesa: in textore.c, only adjust image for convolution if image is a color format | Brian Paul | 1 | -12/+15 | |
Makes things consistant with the code in teximage.c. We only want to apply convolution to color formats (not depth/index formats) | |||||
2008-10-01 | Unify ARB_depth_texture and SGIX_depth_texture | Ian Romanick | 1 | -10/+8 | |
The ARB extension is a superset of the older SGIX extension. Any hardware that can support the SGIX version can also support the ARB version. In Mesa, any driver that supports one also supports the other. This unification just simplifies some bits of code. | |||||
2008-09-23 | Added new _mesa_clip_copytexsubimage() function to do avoid clipping down in ↵ | Brian | 1 | -7/+23 | |
the drivers. This should probably be pulled into main-line Mesa... (cherry picked from commit 324ecadbfdf9b944e059832f146451e4151dcb21) | |||||
2008-09-21 | added _mesa_tex_target_to_face() | Brian | 1 | -7/+13 | |
(cherry picked from commit b52ce6341f877a0a1cfd3c50c07eeb1c156ae89e) | |||||
2008-09-21 | mesa: refactor: move #define FEATURE flags into new mfeatures.h file | Keith Whitwell | 1 | -1/+20 | |
Also, check the FEATURE flags in many places. (cherry picked from commit 40d1a40f294f1ed2dacfad6f5498322fc08cc2d1) Conflicts: src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c | |||||
2008-03-21 | Fix some PBO breakage. | Brian | 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. | |||||
2008-01-05 | fix depth/1 typo in glTexImage3D proxy code | Brian | 1 | -3/+3 | |
2007-08-18 | some fixes for compressed cube maps (bug 11986) | Brian | 1 | -2/+2 | |
2007-08-16 | Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX. | Brian | 1 | -29/+29 | |
Simplification in colortab.c too. | |||||
2007-07-12 | fix width/depth mix-up (bug 11577) | Brian | 1 | -1/+1 | |
2007-07-08 | Fix size test bug in _mesa_test_proxy_teximage(). | Brian | 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. | |||||
2007-06-12 | fix an error string, refactor _mesa_GetCompressedTexImageARB() to get rid of ↵ | Brian | 1 | -17/+17 | |
a goto | |||||
2007-06-11 | Replace texobj->Complete with texobj->_Complete since it's a derived field. | Brian | 1 | -8/+8 | |
2007-05-17 | Add missing _EXT suffix to 2D_ARRAY target enums. | Ian Romanick | 1 | -2/+2 | |
2007-05-17 | Add array texture targets to list that can use compressed formats. | Ian Romanick | 1 | -1/+4 | |
2007-05-17 | Refactor determining whether a texture target can use compressed format | Ian Romanick | 1 | -25/+19 | |
2007-05-16 | Initial implementation of MESA_texture_array | Ian Romanick | 1 | -9/+143 | |
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though. | |||||
2007-05-10 | Refactor the way TestProxyTexImage is called in texture_error_check. | Ian Romanick | 1 | -22/+15 | |
2007-03-22 | Ensure we have a valid ReadBuffer for CopyTexSubImage, and | Alan Hourihane | 1 | -6/+6 | |
if not bail accordingly. Previously we'd only do this test on compressed textures. | |||||
2006-11-02 | s/GLchan/GLubyte/ in debug code | Brian Paul | 1 | -3/+3 | |
2006-11-01 | Merge texmem-0-3-branch. | Keith Whitwell | 1 | -452/+628 | |
2006-10-04 | minor formatting fix | Brian Paul | 1 | -1/+1 | |
2006-08-04 | more work for GL_EXT_texture_sRGB. | Brian Paul | 1 | -0/+72 | |
2006-07-19 | For glGetTexImage(), move the _mesa_validate_pbo_access() error check into | Brian Paul | 1 | -0/+12 | |
_mesa_GetTexImage() so it's not needed in the fallback or driver functions. | |||||
2006-07-18 | indentation fix | Brian Paul | 1 | -5/+5 | |
2006-07-18 | add missing 'return' after a few _mesa_error() calls in _mesa_GetTexImage() | Brian Paul | 1 | -1/+5 | |
2006-06-13 | fix size assertions in _mesa_init_teximage_fields() | Brian Paul | 1 | -3/+3 | |
2006-06-02 | fix depth-component test to allow rectangular textures | Brian Paul | 1 | -2/+4 | |
2006-05-20 | In gl_texture_image, replace ImageStride with an ImageOffsets array. | Brian Paul | 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. | |||||
2006-05-09 | Add a new 'all' parameter to _mesa_get_compressed_formats() to indicate whether | Brian Paul | 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. | |||||
2006-05-08 | More updates for texture compression. | Brian Paul | 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. | |||||
2006-05-08 | Fix a number of texture compression issues. | Brian Paul | 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 | |||||
2006-03-26 | merge from texman branchmesa_20060325 | Brian Paul | 1 | -3/+6 | |
2006-03-20 | Lots of changes/fixes for rendering to framebuffer objects. | Brian Paul | 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. | |||||
2006-03-20 | additional error checking to be sure source renderbuffer exists for ↵ | Brian Paul | 1 | -2/+36 | |
glCopyTex[Sub]Image() | |||||
2005-12-01 | added comment about glTexImage and renderbuffers | Brian Paul | 1 | -0/+6 | |
2005-11-16 | Use new gl_framebuffer _Depth/_StencilBuffer fields instead of | Brian Paul | 1 | -6/+4 | |
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 | 1 | -13/+7 | |
Use COPY_4FV() where possible. Added some comments, clean-ups. | |||||
2005-11-05 | minor improvements in _mesa_init_teximage_fields() | Brian Paul | 1 | -9/+9 | |
2005-10-05 | In gl_texture_image replace IntFormat with InternalFormat and Format with | Brian Paul | 1 | -11/+11 | |
_BaseFormat to be consistant with gl_renderbuffer. | |||||
2005-10-01 | additional error checking for GL_EXT_packed_depth_stencil | Brian Paul | 1 | -13/+50 | |
2005-09-28 | Initial work for GL_EXT_packed_depth_stencil extension. | Brian Paul | 1 | -1/+39 | |
glReadPixels done, glDrawPixels mostly done. | |||||
2005-09-15 | New set_fetch_functions() to set a gl_texture_image's FetchTexel functions | Brian Paul | 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. |