summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
Commit message (Collapse)AuthorAgeFilesLines
* mesa: check FEATURE_point_size_array for PointSize arrayBrian Paul2009-05-211-0/+2
|
* mesa: fix some potential state-restore issues in pop_texture_group()Brian Paul2009-05-211-45/+45
| | | | | | Call the _mesa_set_enable() functions instead of driver functions, etc. Also, add missing code for 1D/2D texture arrays.
* mesa: new _mesa_update_array_object_max_element() functionBrian Paul2009-05-212-2/+83
| | | | This will replace the code in state.c
* mesa: added debug functions for dumping color/depth/stencil buffersBrian Paul2009-05-212-0/+110
|
* mesa: remove pointless null ptr check, improved some error messagesBrian Paul2009-05-211-3/+3
|
* mesa: added _mesa_print_arrays() for debuggingBrian Paul2009-05-212-13/+51
|
* mesa: updated comment for _MaxElement fieldBrian Paul2009-05-211-1/+1
| | | | It's the largest array index, plus one.
* mesa: move gl_array_attrib::_MaxElement to gl_array_object::_MaxElementBrian Paul2009-05-213-6/+11
| | | | This value is per array object.
* Merge branch 'mesa_7_5_branch'Brian Paul2009-05-192-4/+15
|\
| * mesa: allow depth/stencil textures to be attached to GL_STENCIL_ATTACHMENTMathias Fröhlich2009-05-191-4/+14
| | | | | | | | See sourceforge bug #2793846.
| * mesa: assign trb->Base.StencilBits in update_wrapper().Brian Paul2009-05-191-0/+1
| | | | | | | | When we render to a depth/stencil texture there are stencil bits.
* | mesa: print more info when valid_texture_object() failsBrian Paul2009-05-191-1/+2
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-05-181-0/+3
|\| | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h
| * mesa: comments for _mesa_generate_mipmap_level()Brian Paul2009-05-181-0/+3
| |
| * mesa: bump version to 7.5-rc2mesa_7_5_rc2Brian Paul2009-05-151-1/+1
| |
* | mesa: Mark FBOs with compressed color attachments as FBO-incomplete.Eric Anholt2009-05-151-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 Paul2009-05-131-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-downBrian Paul2009-05-131-1/+2
| | | | | | | | The former may point to the later.
| * mesa: clean-up vertex array object VBO unbinding and delete/refcountingBrian Paul2009-05-131-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_objectBrian Paul2009-05-134-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 leakBrian Paul2009-05-111-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-rc1Brian Paul2009-05-081-1/+1
| |
| * mesa: Make _mesa_share_state thread safe.José Fonseca2009-05-081-2/+9
| |
| * mesa: more complete fix for transform_invarient glitchesKeith Whitwell2009-05-084-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 codeKeith Whitwell2009-05-081-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 Paul2009-05-111-2/+5
| |
* | mesa: Fixed a texture memory leakRobert Ellison2009-05-081-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 16Brian Paul2009-05-081-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 inputsBrian Paul2009-05-081-0/+4
| |
* | mesa: issue warning for out of bounds array indexesBrian Paul2009-05-081-0/+2
| |
* | mesa: Make _mesa_share_state thread safe.José Fonseca2009-05-081-2/+9
| |
* | mesa: make the array object save/remove functions staticBrian Paul2009-05-072-14/+7
| |
* | mesa: clean-up vertex array object VBO unbinding and delete/refcountingBrian Paul2009-05-071-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_objectBrian Paul2009-05-074-14/+83
| | | | | | | | | | Every kind of object that can be shared by multiple contexts should be refcounted.
* | mesa: array object commentsBrian Paul2009-05-071-0/+5
| |
* | mesa: move the NullBufferObj from GLcontext to gl_shared_stateBrian Paul2009-05-077-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 Paul2009-05-071-2/+2
| |
* | mesa: remove unused gl_buffer_object::OnCard fieldBrian Paul2009-05-072-3/+0
| |
* | mesa: added gl_buffer_object::Written flag (for debug purposes)Brian Paul2009-05-072-0/+7
| | | | | | | | The flag is set when we data has been written into the buffer object.
* | mesa: Compute gl_client_array->_MaxElement during array validationBrian Paul2009-05-074-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.ArrayBufferObjBrian Paul2009-05-071-2/+2
| | | | | | | | No difference, but a little more understandable.
* | mesa: added _ElementSize field to gl_client_arrayBrian Paul2009-05-072-0/+3
| | | | | | | | Will be handy for bounds checking later...
* | mesa: use local var to make code a bit more conciseBrian Paul2009-05-071-36/+37
| |
* | mesa: fix/add commentsBrian Paul2009-05-071-3/+2
| |
* | mesa: add GL_DOUBLE case in _mesa_sizeof_type()Brian Paul2009-05-071-0/+2
| |
* | mesa: limit number of error raised by invalid GL_TEXTURE_MAX_ANISOTROPY_EXTBrian Paul2009-05-071-2/+4
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-05-071-0/+4
|\|
| * mesa: unmap buffer objects during context tear-downBrian Paul2009-05-071-0/+4
| |
* | mesa: remove unnecessary buffer size checkBrian Paul2009-05-061-8/+0
| |
* | mesa: code consolidation in glDraw[Range]Elements() validationBrian Paul2009-05-061-26/+22
| |