Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: add missing update_min() call in update_arrays() | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | |||||
* | mesa: reduce gl_array_object::VertexAttrib[] array from 32 to 16 elements | Brian Paul | 2009-05-22 | 1 | -2/+7 |
| | | | | | | | | | | This array was mistakenly dimensioned with VERT_ATTRIB_MAX (32) but it should really be MAX_VERTEX_GENERIC_ATTRIBS (16). The generic vertex attributes are in addition to the conventional arrays (except in NV vertex program mode- they alias/overlay in that case) so the total of all conventional attributes plus generic attributes should total 32 (not 48). | ||||
* | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | |||||
* | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -2/+2 |
| | |||||
* | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | |||||
* | mesa: simplify adjust_buffer_object_ref_counts() | Brian Paul | 2009-05-22 | 1 | -12/+14 |
| | |||||
* | mesa: minor code clean-up | Brian Paul | 2009-05-22 | 1 | -18/+19 |
| | |||||
* | mesa: use Elements() for loop limit | Brian Paul | 2009-05-22 | 2 | -4/+4 |
| | |||||
* | mesa: use Elements() for loop bound | Brian Paul | 2009-05-22 | 1 | -2/+2 |
| | |||||
* | mesa: minor code simplification | Brian Paul | 2009-05-22 | 1 | -9/+11 |
| | |||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-22 | 1 | -2/+2 |
|\ | |||||
| * | mesa: fix loop over generic attribs in update_arrays() | Brian Paul | 2009-05-22 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-22 | 3 | -14/+40 |
|\ \ | |/ | |||||
| * | mesa: allow GL_BITMAP type in _mesa_image_image_stride() | Brian Paul | 2009-05-22 | 1 | -13/+23 |
| | | | | | | | | | | | | | | It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D() which gets converted to RGBA via the glPixelMap tables. This fixes a failure with piglit/fdo10370 with Gallium. | ||||
| * | mesa: added comment | Brian Paul | 2009-05-22 | 1 | -0/+1 |
| | | |||||
| * | mesa: add missing glGet*() case for GL_VERTEX_ARRAY_BINDING_APPLE | Brian Paul | 2009-05-21 | 2 | -1/+16 |
| | | |||||
* | | mesa: added some assertions | Brian Paul | 2009-05-22 | 1 | -0/+2 |
| | | |||||
* | | mesa: use Elements() macro to limit loops instead of constants | Brian Paul | 2009-05-22 | 1 | -5/+5 |
| | | |||||
* | | mesa: remove MAX_VERTEX_PROGRAM_ATTRIBS | Brian Paul | 2009-05-22 | 2 | -5/+4 |
| | | | | | | | | | | Use MAX_VERTEX_GENERIC_ATTRIBS instead. No need for two #defines for the same quantity. | ||||
* | | mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBS | Brian Paul | 2009-05-22 | 4 | -26/+26 |
| | | | | | | | | | | Be clearer that this is the number of generic vertex program/shader attributes, not counting the legacy attributes (pos, normal, color, etc). | ||||
* | | mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS/ in NV funcs | Brian Paul | 2009-05-22 | 1 | -8/+8 |
| | | |||||
* | | mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | | |||||
* | | mesa: freshen comments for update_array() | Brian Paul | 2009-05-21 | 1 | -3/+2 |
| | | |||||
* | | mesa: remove const qualifier | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | | |||||
* | | mesa: VertexAttribPointer comments | Brian Paul | 2009-05-21 | 1 | -0/+11 |
| | | |||||
* | | mesa: call _mesa_update_array_object_max_element() before printing array info | Brian Paul | 2009-05-21 | 1 | -0/+2 |
| | | |||||
* | | mesa: added gl_array_object::Weight array field | Brian Paul | 2009-05-21 | 2 | -0/+4 |
| | | | | | | | | | | | | | | We don't really implement vertex weights but in the VBO code this fixes and odd case for the legacy_array[] setup. Before, the vbo->draw_prims() call was always indicating that the vertex weight array was present/enabled when it really wasn't. | ||||
* | | mesa: check FEATURE_point_size_array for PointSize array | Brian Paul | 2009-05-21 | 1 | -0/+2 |
| | | |||||
* | | mesa: fix some potential state-restore issues in pop_texture_group() | Brian Paul | 2009-05-21 | 1 | -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() function | Brian Paul | 2009-05-21 | 2 | -2/+83 |
| | | | | | | | | This will replace the code in state.c | ||||
* | | 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-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 |
| | |