summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2009-02-06mesa: meaningless whitespace change to see if git's working (ignore)Brian Paul
2009-02-04mesa: more info in error messagesBrian Paul
2009-02-04mesa: minor error msg improvementBrian Paul
2009-02-03mesa: simplify delete_wrapper()Brian Paul
2009-01-31mesa: more display list cleanupsBrian
Remove some unneeded fields. Rename some function parameters.
2009-01-31mesa: display list clean-upsBrian
Rename some structs and fields to be more consistant with the rest of mesa.
2009-01-31mesa: minor comments, clean-upsBrian
2009-01-31mesa: remove remnant of GL_SGIX_depth_textureBrian
2009-01-30mesa: simplify the _mesa_get_proxy_tex_image() functionBrian Paul
2009-01-30mesa: fix incorrect call to clear_teximage_fields() in _mesa_TexImage2D()Brian Paul
Fixes failed assertion / segfault for particular proxy texture tests.
2009-01-30mesa: add missing _mesa_reference_texobj() calls for texture array targetsBrian Paul
2009-01-30mesa: 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-29mesa: 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-29mesa: fix a render to texture FBO validation bugBrian 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-28Make GL_ARB_draw_buffers mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_{EXT,SUN}_multi_draw_arrays and GL_IBM_multimode_draw_arrays mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_ARB_vertex_buffer_object mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_ARB_multisample mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28Make GL_ARB_texture_compression mandatoryIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-28mesa: remove GL_SGIX_shadow, GL_SGIX_shadow_ambient and GL_SGIX_depth_textureBrian Paul
Everyone should be using the newer/better ARB versions of these extensions.
2009-01-28mesa: additional GL_INVALID_OPERATION tests for texture swizzleBrian Paul
2009-01-28mesa: implement texture swizzling in swrastBrian Paul
And enable GL_EXT_texture_swizzle for software drivers.
2009-01-28mesa: set/get new state for GL_EXT_texture_swizzleBrian Paul
2009-01-27mesa: refactor glTexParameter codeBrian Paul
2009-01-27mesa: 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-26mesa: add missing texture_put_row_rgb() function in texrender.cRobert 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-23mesa: enable GL_NV_texture_env_combine4 for sw driversBrian Paul
2009-01-23mesa: updated fragment shader codegen for GL_NV_texture_env_combine4Brian 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-23mesa: update state setup/validation for GL_NV_texture_env_combine4Brian Paul
2009-01-23mesa: update glTexEnv(), glGetTexEnv() for GL_NV_texture_env_combine4Brian Paul
2009-01-23mesa: initial changes for GL_NV_texture_env_combine4Brian Paul
2009-01-23mesa: consolidate glGetTexEnvi/f() code with new get_texenvi() helperBrian Paul
2009-01-23mesa: refactor _mesa_TexEnvfv() code with helper functionsBrian Paul
2009-01-23Merge branch 'vertex_array_bgra'Brian Paul
2009-01-23mesa: enable GL_EXT_vertex_array_bgra for sw driversBrian Paul
2009-01-23mesa: improve array initialization code, and set the new array->Format field.Brian Paul
2009-01-23mesa: update glColorPointer, etc for GL_EXT_vertex_array_bgraBrian Paul
Add new error checking, set array state appropriately.
2009-01-23mesa: initial bits for GL_EXT_vertex_array_bgraBrian Paul
2009-01-23swrast: Enable GL_EXT_stencil_two_sideIan Romanick
2009-01-23Track two sets of back-face stencil stateIan Romanick
Track separate back-face stencil state for OpenGL 2.0 / GL_ATI_separate_stencil and GL_EXT_stencil_two_side. This allows all three to be enabled in a driver. One set of state is set via the 2.0 or ATI functions and is used when STENCIL_TEST_TWO_SIDE_EXT is disabled. The other is set by StencilFunc and StencilOp when the active stencil face is set to BACK. The GL_EXT_stencil_two_side spec has more details. http://opengl.org/registry/specs/EXT/stencil_two_side.txt
2009-01-22mesa: enable ARB_fbo for s/w driversBrian Paul
2009-01-22mesa: avoid calling _mesa_test_framebuffer_completeness() more than neededBrian Paul
When we change a FBO's attachments, set _Status=0. Before using an FBO, check if status != GL_FRAMEBUFFER_COMPLETE. Also, fix missing GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE status.
2009-01-22mesa: fix some renderbuffer/framebuffer delete semanticsBrian Paul
Need to unbind buffers if referenced by the current read/draw pointers when being deleted.
2009-01-22mesa: add support for GL_DEPTH_STENCIL_ATTACHMENT point.Brian Paul
Used to set both the depth and stencil attachment points to one renderbuffer of texture.
2009-01-22mesa: additional FBO error checking for multisample-related thingsBrian Paul
Plus some new comments.
2009-01-22mesa: update Visual.samples field in _mesa_update_framebuffer_visual()Brian Paul
2009-01-22mesa: refactor glRenderbufferStorage(), glRenderbufferStorageMultisample() codeBrian Paul
Use a common helper routine for both functions.
2009-01-22mesa: init MaxSamples = 0 (no multisampling)Brian Paul
2009-01-22mesa: added GL_MAX_SAMPLES query for GL_ARB_fboBrian Paul
2009-01-22mesa: added NumSamples, MaxSamples for ARB_fboBrian Paul