Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-09-01 | mesa: Make MultiDrawElements submit multiple primitives at once. | Eric Anholt | |
Previously, MultiDrawElements just called DrawElements a bunch of times. By sending several primitives down the pipeline at once, we avoid a bunch of validation. On my GL demo, this improves fps by 2.5% (+/- .41%) and reduces CPU usage by 70.5% (+/- 2.9%) (n=3). Reviewed by: Ian Romanick <ian.d.romanick@intel.com> | |||
2009-08-14 | vbo: call _mesa_valid_to_render() | Brian Paul | |
2009-08-12 | vbo: use _mesa_is_bufferobj() | Brian Paul | |
2009-08-12 | vbo: fix incorrect pointer | Brian Paul | |
2009-08-12 | vbo: Avoid extra validation of DrawElements. | Eric Anholt | |
This saves mapping the index buffer to get a bounds on the indices that drivers just drop on the floor in the VBO case (cache win), saves a bonus walk of the indices in the CheckArrayBounds case, and other miscellaneous validation. On intel it's a particularly a large win (50-100% in my app) because even though we let the indices stay in both CPU and GPU caches, we still end up waiting for the GPU to be done with the buffer before reading from it. Drivers that want the min/max_index fields must now check index_bounds_valid and use vbo_get_minmax_index before using them. | |||
2009-06-09 | vbo: more glDrawElements debug code (disabled) | Brian Paul | |
2009-06-03 | vbo: minor reformatting | Brian Paul | |
2009-06-03 | vbo: move/refactor debug code | Brian Paul | |
2009-06-03 | vbo: added debug code to check array data validity (disabled) | Brian Paul | |
2009-06-03 | vbo: tweak out-of-bounds VBO access error message | Brian Paul | |
Subtract 1 from _MaxElement to be clearer. | |||
2009-05-22 | mesa: fix warning message in vbo_exec_DrawRangeElements() | Brian Paul | |
2009-05-22 | mesa: use Elements() for loop limit | Brian Paul | |
2009-05-22 | mesa: rename MAX_VERTEX_ATTRIBS to MAX_VERTEX_GENERIC_ATTRIBS | Brian Paul | |
Be clearer that this is the number of generic vertex program/shader attributes, not counting the legacy attributes (pos, normal, color, etc). | |||
2009-05-21 | vbo: fix build breakage...oops | Brian Paul | |
2009-05-21 | vbo: comments, whitespace clean-ups | Brian Paul | |
2009-05-21 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-05-21 | vbo: fix incorrect loop limit in bind_array_obj() | Brian Paul | |
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. | |||
2009-05-21 | mesa: use MAX_ values instead of literals | Brian Paul | |
2009-05-21 | mesa: added gl_array_object::Weight array field | Brian Paul | |
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. | |||
2009-05-21 | mesa: move gl_array_attrib::_MaxElement to gl_array_object::_MaxElement | Brian Paul | |
This value is per array object. | |||
2009-05-21 | vbo: s/8/MAX_TEXTURE_COORD_UNITS/ | Brian Paul | |
2009-05-07 | vbo: in glDraw[Range]Element() code, check for out of bounds indexes | Brian Paul | |
No-op the bad drawing command rather than go out of bounds and render garbage. Print a warning to alert the developer to the bad drawing call. | |||
2009-03-07 | vbo: make bind_array_obj() code a little more concise | Brian Paul | |
2009-03-02 | mesa: save some useful VBO debug/dump code (disabled) | Brian Paul | |
2008-10-07 | mesa: replace GLuint with GLbitfield to be clearer about usage | Brian Paul | |
Also, fix up some comments to be doxygen style. | |||
2008-10-03 | mesa: avoid generating constant vertex attributes in fixedfunc programs | Keith Whitwell | |
Keep track of enabled/active vertex attributes. Keep track of potential vertex program outputs. When generating fragment program, replace references to fragment attributes which are effectively non-varying and non-computed passthrough attributes with references to the new CURRENT_ATTRIB tracked state value. Only downside is slight ugliness in VBO code where we need to validate state twice in succession. | |||
2008-08-26 | vbo: seed initial max_element value with a more likely candidate | Keith Whitwell | |
2008-06-25 | mesa: point size arrays | Brian Paul | |
2008-06-05 | mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for ↵ | Brian Paul | |
VBO funcs | |||
2008-05-31 | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | |
2008-04-11 | mesa: Fix glBegin-time test for invalid programs/shaders. | Brian Paul | |
Cherry-picked from master. | |||
2007-07-04 | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | |
of -I flags. | |||
2007-02-14 | fix typo preventing generic arrays from working with ARB_vp (bug #9952) | Roland Scheidegger | |
2007-02-09 | array overflow fix | Zou Nan hai | |
2007-01-30 | Use new rebase helper. Remove other rebase code. | Keith Whitwell | |
2007-01-25 | do not rebase index buffers as it does not work currently (tested with r200 ↵ | Roland Scheidegger | |
and sw mesa) | |||
2007-01-18 | Fix invalid enums passed to MapBuffer | Aapo Tahkola | |
2007-01-15 | Remove unused index buffer. | Keith Whitwell | |
2007-01-15 | Remove special-case handling for index and edgeflag | Keith Whitwell | |
This isn't required with the changes to core mesa and the new attribute layout. | |||
2006-11-03 | need to call bind_arrays() in vbo_exec_DrawRangeElements. | Roland Scheidegger | |
2006-11-02 | Fix typo in last commit | Keith Whitwell | |
2006-11-02 | Similarly, fill in missing input slots in the vertex-array + | Keith Whitwell | |
NV_vertex_program path. | |||
2006-11-02 | Fill in missing input slots in the vertex-array + no-vertex-program | Keith Whitwell | |
path. | |||
2006-10-30 | better handling of current attributes. Trivial dlist and varray tests work | Keith Whitwell | |
2006-10-29 | Checkpoint of new vbo-building code. Currently builds regular arrays | Keith Whitwell | |
rather than VBO's - VBOs are easy but need to look closer at the driver interface. The trivial/tri demo works. |