Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-02-10 | mesa: remove the unused _mesa_UpdateTexEnvProgram() function | Brian Paul | |
2009-02-10 | mesa: another fix for program/texture state validation | Brian Paul | |
This fixes a regression introduced in 46ae1abbac6837d051c10b2e8b57eab3d4958ff4 Break program validation into two steps, do part before texture state validation and do the rest after: 1. Determine Vertex/Fragment _Enabled state. 2. Update texture state. 3. Determine pointers to current Vertex/Fragment programs (which may involve generating new "fixed-function" programs). See comments in the code for more details of the dependencies. | |||
2009-02-10 | mesa: s/_IMAGE_NEW_TRANSFER_STATE/_MESA_NEW_TRANSFER_STATE/ to be more ↵ | Brian Paul | |
consistant with other flags | |||
2009-02-10 | mesa: fix/change state validation order for program/texture state | Brian Paul | |
Program state needs to be updated before texture state since the later depends on the former. Fixes piglit texgen failure. The second time through the modes (press 't' three times) we disable the fragment program and return to conventional texture mode. State validation failed here because update_texture() saw stale fragment program state. | |||
2009-02-09 | mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state change | Brian Paul | |
Avoid a little bit of unneeded state validation and fixes a bug where the texture complete flags was set to false, but we didn't signal _NEW_TEXTURE. Fixes piglit tex1d-2dborder failure. | |||
2009-02-09 | mesa: add no-change testing for a few more texture parameters | Brian Paul | |
2009-02-09 | mesa: replace _mesa_unreference_framebuffer() with _mesa_reference_framebuffer() | Brian Paul | |
2009-02-09 | mesa: rework _mesa_reference_framebuffer() to look like ↵ | Brian Paul | |
_mesa_reference_renderbuffer() _mesa_unreference_framebuffer() is deprecated since _mesa_reference_framebuffer(ptr, NULL) can be used instead. | |||
2009-02-07 | mesa: minor fixes to incomplete texture debug code | Brian Paul | |
2009-02-07 | mesa: debug code for printing info about textures, writing teximages to disk | Brian Paul | |
2009-02-07 | mesa: code refactoring: move texcombine code into update_tex_combine() | Brian Paul | |
2009-02-07 | mesa: minor clean-ups, remove unneeded conditional | Brian Paul | |
2009-02-07 | mesa: fix logic error in computing enableBits in update_texture_state() | Brian Paul | |
If we had a vertex shader but no fragment shader (i.e. fixed function) we didn't get the right enabled texture targets. Fixes blank/white texture problem. | |||
2009-02-06 | glsl: new MESA_GLSL env var for GLSL debugging features | Brian Paul | |
Replaces the VERBOSE_GLSL, VERBOSE_GLSL_DUMP flags which only worked in debug builds. MESA_GLSL will work both in debug and non-debug builds. Also add facility to dump glUniform() calls to stdout. | |||
2009-02-06 | Revert "mesa: meaningless whitespace change to see if git's working (ignore)" | Brian Paul | |
This reverts commit b2e779988eeb595187933fe2122d86f8ccfe059c. I didn't mean to push this stuff yet. I'm having a bad git day... | |||
2009-02-06 | mesa: meaningless whitespace change to see if git's working (ignore) | Brian Paul | |
2009-02-04 | mesa: more info in error messages | Brian Paul | |
2009-02-04 | mesa: minor error msg improvement | Brian Paul | |
2009-02-03 | mesa: simplify delete_wrapper() | Brian Paul | |
2009-01-31 | mesa: more display list cleanups | Brian | |
Remove some unneeded fields. Rename some function parameters. | |||
2009-01-31 | mesa: display list clean-ups | Brian | |
Rename some structs and fields to be more consistant with the rest of mesa. | |||
2009-01-31 | mesa: minor comments, clean-ups | Brian | |
2009-01-31 | mesa: remove remnant of GL_SGIX_depth_texture | Brian | |
2009-01-30 | mesa: simplify the _mesa_get_proxy_tex_image() function | Brian Paul | |
2009-01-30 | mesa: fix incorrect call to clear_teximage_fields() in _mesa_TexImage2D() | Brian Paul | |
Fixes failed assertion / segfault for particular proxy texture tests. | |||
2009-01-30 | mesa: add missing _mesa_reference_texobj() calls for texture array targets | Brian Paul | |
2009-01-30 | mesa: remove incorrect refcounting adjustment in ↵ | Brian Paul | |
adjust_buffer_object_ref_counts() Fixes bug 19835. However, a more elaborate fix should be implemented someday which uses proper reference counting for gl_array_object. | |||
2009-01-29 | mesa: allow glFramebufferTexture1/2/3D(target = GL_READ/DRAW_FRAMEBUFFER) | Brian Paul | |
This is part of GL_EXT_framebuffer_blit and GL_ARB_framebuffer_obbject. | |||
2009-01-29 | mesa: fix a render to texture FBO validation bug | Brian Paul | |
When glTexImage() is called we need to re-validate any FBOs that point to the texture (i.e. render-to-texture) since changing the texture's size/format will effect FBO completeness. We don't keep a list of all FBOs rendering into each texture (which would be a bit messy) so we check all FBOs in existance. To optimize this, the gl_texture_object->_RenderToTexture flag is used to avoid checking textures that have never been used as renderbuffers. So, we only walk over all FBOs (there's usually only a few) when glTexImage() modifies a RTT texture. Fixes a bug seen in shadowtex.c when toggling packed depth/stencil mode. | |||
2009-01-28 | Make GL_ARB_draw_buffers mandatory | Ian Romanick | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2009-01-28 | Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatory | Ian Romanick | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2009-01-28 | Make GL_ARB_vertex_buffer_object mandatory | Ian Romanick | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2009-01-28 | Make GL_ARB_multisample mandatory | Ian Romanick | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2009-01-28 | Make GL_ARB_texture_compression mandatory | Ian Romanick | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2009-01-28 | mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_texture | Brian Paul | |
Everyone should be using the newer/better ARB versions of these extensions. | |||
2009-01-28 | mesa: additional GL_INVALID_OPERATION tests for texture swizzle | Brian Paul | |
2009-01-28 | mesa: implement texture swizzling in swrast | Brian Paul | |
And enable GL_EXT_texture_swizzle for software drivers. | |||
2009-01-28 | mesa: set/get new state for GL_EXT_texture_swizzle | Brian Paul | |
2009-01-27 | mesa: refactor glTexParameter code | Brian Paul | |
2009-01-27 | mesa: move call to _mesa_update_framebuffer_visual() | Brian Paul | |
Update the visual info in the _mesa_test_framebuffer_completeness() function when we've determined the FBO to be "complete". Fixes regression seen in progs/demos/shadowtex.c | |||
2009-01-26 | mesa: add missing texture_put_row_rgb() function in texrender.c | Robert Ellison | |
The wrap_texture() function doesn't set the renderbuffer PutRowRGB() method, which is used to implement DrawPixels(). This fix adds an implementation of this method. | |||
2009-01-23 | mesa: enable GL_NV_texture_env_combine4 for sw drivers | Brian Paul | |
2009-01-23 | mesa: updated fragment shader codegen for GL_NV_texture_env_combine4 | Brian Paul | |
Expand struct fields, increase loops and handle new 4-term ADD modes. Plus, some new assertions to catch switch/default cases that may be incorrect. | |||
2009-01-23 | mesa: update state setup/validation for GL_NV_texture_env_combine4 | Brian Paul | |
2009-01-23 | mesa: update glTexEnv(), glGetTexEnv() for GL_NV_texture_env_combine4 | Brian Paul | |
2009-01-23 | mesa: initial changes for GL_NV_texture_env_combine4 | Brian Paul | |
2009-01-23 | mesa: consolidate glGetTexEnvi/f() code with new get_texenvi() helper | Brian Paul | |
2009-01-23 | mesa: refactor _mesa_TexEnvfv() code with helper functions | Brian Paul | |
2009-01-23 | Merge branch 'vertex_array_bgra' | Brian Paul | |
2009-01-23 | mesa: enable GL_EXT_vertex_array_bgra for sw drivers | Brian Paul | |