Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | st/mesa: init Format field of vertex arrays for feedback mode | Brian Paul | 2009-05-27 | 1 | -0/+1 |
| | | | | Fixes segfault in glRasterPos() | ||||
* | i915: Fall back on NPOT textured metaops on 830-class. | Eric Anholt | 2009-05-26 | 3 | -0/+30 |
| | |||||
* | i915: Restore the Viewport and DepthRange functions on 8xx. | Eric Anholt | 2009-05-26 | 1 | -0/+21 |
| | | | | | | | Fixes failed viewport updates on glxgears (and other apps) resize since e41780fedc2c1f22b43118da30a0103fa68b769f. Bug #20473. | ||||
* | intel: Override MaxRenderbufferSize with hardware constraints | Chris Wilson | 2009-05-26 | 1 | -0/+7 |
| | | | | | Limit the maximum renderbuffer size to 8192 on i965 and to 2048 on earlier hardware. | ||||
* | mesa: fix warning message in vbo_exec_DrawRangeElements() | Brian Paul | 2009-05-22 | 1 | -1/+2 |
| | |||||
* | 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 | -3/+2 |
| | |||||
* | 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 | -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 | 3 | -5/+5 |
| | |||||
* | vbo: s/32/VERT_ATTRIB_MAX/ | Brian Paul | 2009-05-22 | 1 | -2/+2 |
| | |||||
* | 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 |
| | | |||||
* | | vbo: asst. reformatting, clean-ups | Brian Paul | 2009-05-22 | 1 | -34/+46 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-22 | 1 | -0/+1 |
|\| | |||||
| * | vbo: fix crash in vbo_exec_bind_arrays() | Brian Paul | 2009-05-22 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | When a vertex shader uses generic vertex attribute 0, but not gl_Vertex, we need to set attribute[16] to point to attribute[0]. We were setting the attribute size, but not the pointer. Fixes crash in glsl/multitex.c when using the VertCoord attribute instead of gl_Vertex. | ||||
* | | 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 | 2 | -0/+10 |
| | | |||||
* | | 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 | 5 | -14/+13 |
| | | | | | | | | | | 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 | 7 | -40/+40 |
| | | | | | | | | | | 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 |
| | | |||||
* | | vbo: fix build breakage...oops | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | | |||||
* | | vbo: comments, whitespace clean-ups | Brian Paul | 2009-05-21 | 1 | -19/+26 |
| | | |||||
* | | mesa: s/MAX_VERTEX_PROGRAM_ATTRIBS/MAX_NV_VERTEX_PROGRAM_INPUTS | Brian Paul | 2009-05-21 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-21 | 1 | -2/+5 |
|\| | |||||
| * | vbo: fix incorrect loop limit in bind_array_obj() | Brian Paul | 2009-05-21 | 1 | -1/+4 |
| | | | | | | | | | | | | The generic_array[] is 16 elements in size, but the loop was doing 32 iterations. The out of bounds array write was clobbering the following inputs[] array but as luck would have it, that didn't matter. | ||||
| * | mesa: use MAX_ values instead of literals | Brian Paul | 2009-05-21 | 1 | -2/+2 |
| | | |||||
* | | mesa: freshen comments for update_array() | Brian Paul | 2009-05-21 | 1 | -3/+2 |
| | | |||||
* | | mesa: minor code simplification in _mesa_GetVertexAttrib*NV() | Brian Paul | 2009-05-21 | 1 | -10/+19 |
| | | |||||
* | | mesa: comment for _mesa_GetVertexAttribfvARB() | Brian Paul | 2009-05-21 | 1 | -0/+4 |
| | | |||||
* | | mesa: minor code simplification in _mesa_GetVertexAttribfvARB() | Brian Paul | 2009-05-21 | 1 | -6/+9 |
| | | |||||
* | | 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 | 3 | -1/+5 |
| | | | | | | | | | | | | | | 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 | ||||
* | | vbo: return VP_NONE from get_program_mode() if running fixed-func vertex program | Brian Paul | 2009-05-21 | 1 | -0/+2 |
| | | | | | | | | | | | | | | If we're running a vertex program to emulated fixed-function, we still need to treat vertex arrays/attributes as if we're in fixed-function mode. This should probably be back-ported to Mesa 7.5 after a bit more testing. |