Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: added debug functions for dumping color/depth/stencil buffers | Brian Paul | 2009-05-21 | 2 | -0/+110 |
| | |||||
* | mesa: remove pointless null ptr check, improved some error messages | Brian Paul | 2009-05-21 | 1 | -3/+3 |
| | |||||
* | mesa: added _mesa_print_arrays() for debugging | Brian Paul | 2009-05-21 | 2 | -13/+51 |
| | |||||
* | mesa: updated comment for _MaxElement field | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | | | | It's the largest array index, plus one. | ||||
* | mesa: move gl_array_attrib::_MaxElement to gl_array_object::_MaxElement | Brian Paul | 2009-05-21 | 3 | -6/+11 |
| | | | | This value is per array object. | ||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-19 | 2 | -4/+15 |
|\ | |||||
| * | mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENT | Mathias Fröhlich | 2009-05-19 | 1 | -4/+14 |
| | | | | | | | | See sourceforge bug #2793846. | ||||
| * | mesa: assign trb->Base.StencilBits in update_wrapper(). | Brian Paul | 2009-05-19 | 1 | -0/+1 |
| | | | | | | | | When we render to a depth/stencil texture there are stencil bits. | ||||
* | | mesa: print more info when valid_texture_object() fails | Brian Paul | 2009-05-19 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-18 | 1 | -0/+3 |
|\| | | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h | ||||
| * | mesa: comments for _mesa_generate_mipmap_level() | Brian Paul | 2009-05-18 | 1 | -0/+3 |
| | | |||||
| * | mesa: bump version to 7.5-rc2mesa_7_5_rc2 | Brian Paul | 2009-05-15 | 1 | -1/+1 |
| | | |||||
* | | mesa: Mark FBOs with compressed color attachments as FBO-incomplete. | Eric Anholt | 2009-05-15 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | Both EXT_fbo and ARB_fbo agree on this. Fixes a segfault in the metaops mipmap generation in Intel for SGIS_generate_mipmap of S3TC textures in Regnum Online. Bug #21654. | ||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-13 | 1 | -0/+1 |
|\| | | | | | | | | | | | | | | | Conflicts: src/mesa/main/arrayobj.c src/mesa/main/arrayobj.h src/mesa/main/context.c | ||||
| * | mesa: delete array objects before buffer objects during context tear-down | Brian Paul | 2009-05-13 | 1 | -1/+2 |
| | | | | | | | | The former may point to the later. | ||||
| * | mesa: clean-up vertex array object VBO unbinding and delete/refcounting | Brian Paul | 2009-05-13 | 1 | -31/+33 |
| | | | | | | | | | | | | Don't really delete vertex array objects until the refcount hits zero. At that time, unbind any pointers to VBOs. (cherry picked from commit 32b851c80792623195069d7a41a5808cff3b2f6f) | ||||
| * | mesa: reference counting for gl_array_object | Brian Paul | 2009-05-13 | 4 | -13/+84 |
| | | | | | | | | | | | | Every kind of object that can be shared by multiple contexts should be refcounted. (cherry picked from commit 1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a) | ||||
| * | mesa: Fixed a texture memory leak | Brian Paul | 2009-05-11 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current texture for any particular texture unit is given an additional reference in update_texture_state(); but if the context is closed before that texture can be released (which is quite frequent in normal use, unless a program unbinds and deletes the texture and renders without it to force a call to update_texture_state(), the memory is lost. This affects general Mesa; but the i965 is particularly affected because it allocates a considerable amount of additional memory for each allocated texture. (cherry picked from master, commit c230767d6956b63a2b101acb48f98823bb5dd31a) | ||||
| * | mesa: set version to 7.5-rc1 | Brian Paul | 2009-05-08 | 1 | -1/+1 |
| | | |||||
| * | mesa: Make _mesa_share_state thread safe. | José Fonseca | 2009-05-08 | 1 | -2/+9 |
| | | |||||
| * | mesa: more complete fix for transform_invarient glitches | Keith Whitwell | 2009-05-08 | 4 | -9/+30 |
| | | | | | | | | | | | | Add a new flag mvp_with_dp4 in the context, and use that to switch both ffvertex.c and programopt.c vertex transformation code to either DP4 or MUL/MAD implementations. | ||||
| * | mesa/main: set PREFER_DP4 to match position_invarient code | Keith Whitwell | 2009-05-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | This is a quick fix for z fighting in quake4 caused by the mismatch between vertex transformation here and in the position_invarient code. Full fix would be to make this driver-tunable and adjust both position_invarient and ffvertex_prog.c code to respect driver preferences. | ||||
* | | mesa: updated comments for _mesa_generate_mipmap() | Brian Paul | 2009-05-11 | 1 | -2/+5 |
| | | |||||
* | | mesa: Fixed a texture memory leak | Robert Ellison | 2009-05-08 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | The current texture for any particular texture unit is given an additional reference in update_texture_state(); but if the context is closed before that texture can be released (which is quite frequent in normal use, unless a program unbinds and deletes the texture and renders without it to force a call to update_texture_state(), the memory is lost. This affects general Mesa; but the i965 is particularly affected because it allocates a considerable amount of additional memory for each allocated texture. | ||||
* | | mesa: raise MAX_VARYING (number of shader varying vars) to 16 | Brian Paul | 2009-05-08 | 1 | -1/+1 |
| | | | | | | | | 16 is the limit for now because of various 32-bit bitfields. | ||||
* | | mesa: assertions to check for too many vertex outputs or fragment inputs | Brian Paul | 2009-05-08 | 1 | -0/+4 |
| | | |||||
* | | mesa: issue warning for out of bounds array indexes | Brian Paul | 2009-05-08 | 1 | -0/+2 |
| | | |||||
* | | mesa: Make _mesa_share_state thread safe. | José Fonseca | 2009-05-08 | 1 | -2/+9 |
| | | |||||
* | | mesa: make the array object save/remove functions static | Brian Paul | 2009-05-07 | 2 | -14/+7 |
| | | |||||
* | | mesa: clean-up vertex array object VBO unbinding and delete/refcounting | Brian Paul | 2009-05-07 | 1 | -31/+33 |
| | | | | | | | | | | Don't really delete vertex array objects until the refcount hits zero. At that time, unbind any pointers to VBOs. | ||||
* | | mesa: reference counting for gl_array_object | Brian Paul | 2009-05-07 | 4 | -14/+83 |
| | | | | | | | | | | Every kind of object that can be shared by multiple contexts should be refcounted. | ||||
* | | mesa: array object comments | Brian Paul | 2009-05-07 | 1 | -0/+5 |
| | | |||||
* | | mesa: move the NullBufferObj from GLcontext to gl_shared_state | Brian Paul | 2009-05-07 | 7 | -27/+33 |
| | | | | | | | | | | Since shared array objects may point to the null/default buffer object, the null/default buffer object should be part of the shared state. | ||||
* | | mesa: fix comments, s/texture/buffer/ | Brian Paul | 2009-05-07 | 1 | -2/+2 |
| | | |||||
* | | mesa: remove unused gl_buffer_object::OnCard field | Brian Paul | 2009-05-07 | 2 | -3/+0 |
| | | |||||
* | | mesa: added gl_buffer_object::Written flag (for debug purposes) | Brian Paul | 2009-05-07 | 2 | -0/+7 |
| | | | | | | | | The flag is set when we data has been written into the buffer object. | ||||
* | | mesa: Compute gl_client_array->_MaxElement during array validation | Brian Paul | 2009-05-07 | 4 | -40/+64 |
| | | | | | | | | | | | | Used to be done in the glVertex/Normal/Color/etc/Pointer() calls but if the VBO was reallocated the size could change. New _NEW_BUFFER_OBJECT state flag. | ||||
* | | mesa: use array->BufferObj instead of ctx->Array.ArrayBufferObj | Brian Paul | 2009-05-07 | 1 | -2/+2 |
| | | | | | | | | No difference, but a little more understandable. | ||||
* | | mesa: added _ElementSize field to gl_client_array | Brian Paul | 2009-05-07 | 2 | -0/+3 |
| | | | | | | | | Will be handy for bounds checking later... | ||||
* | | mesa: use local var to make code a bit more concise | Brian Paul | 2009-05-07 | 1 | -36/+37 |
| | | |||||
* | | mesa: fix/add comments | Brian Paul | 2009-05-07 | 1 | -3/+2 |
| | | |||||
* | | mesa: add GL_DOUBLE case in _mesa_sizeof_type() | Brian Paul | 2009-05-07 | 1 | -0/+2 |
| | | |||||
* | | mesa: limit number of error raised by invalid GL_TEXTURE_MAX_ANISOTROPY_EXT | Brian Paul | 2009-05-07 | 1 | -2/+4 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-07 | 1 | -0/+4 |
|\| | |||||
| * | mesa: unmap buffer objects during context tear-down | Brian Paul | 2009-05-07 | 1 | -0/+4 |
| | | |||||
* | | mesa: remove unnecessary buffer size check | Brian Paul | 2009-05-06 | 1 | -8/+0 |
| | | |||||
* | | mesa: code consolidation in glDraw[Range]Elements() validation | Brian Paul | 2009-05-06 | 1 | -26/+22 |
| | | |||||
* | | mesa: new comments, minor reformatting | Brian Paul | 2009-05-06 | 1 | -7/+20 |
| | | |||||
* | | mesa: use elementBuf local var instead of ctx->Array.ElementArrayBufferObj | Brian Paul | 2009-05-06 | 1 | -1/+1 |
| | | | | | | | | Makes no real difference, but more consistant. | ||||
* | | mesa: only use fallback texture when using shaders, not fixed-function (take ↵ | Brian Paul | 2009-05-05 | 1 | -8/+14 |
| | | | | | | | | | | | | | | | | | | | | | | two) The semantics are a little different for shaders vs. fixed-function when trying to use an incomplete texture. The fallback texture returning (0,0,0,1) should only be used with shaders. For fixed function, the texture unit is truly disabled/ignored. Fixes glean fbo test regression. |