summaryrefslogtreecommitdiff
path: root/src/mesa/vbo/vbo.h
AgeCommit message (Collapse)Author
2011-01-20vbo: added commentBrian Paul
2010-12-30vbo: Clean up header file inclusion in vbo.h.Vinson Lee
2010-12-10vbo: Avoid the copy to current in dlists if not required.Mathias Fröhlich
The current state is allowed to be undefined past DrawElements et al. Consequently omit that copying at least in the display list code. This pays us some percents performance. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-12-08vbo: Fix GLES2 glVertexAttrib.Chia-I Wu
Attribute 0 has no special meaning in GLES2. Add VertexAttrib4f_nopos for that purpose and make _es_VertexAttrib* call the new function. Rename _vbo_* to _es_* to avoid confusion. These functions are only used by GLES, and now some of them (_es_VertexAttrib*) even behave differently than vbo_VertexAttrib*.
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-10-12i965: Don't rebase the index buffer to min 0 if any arrays are in VBOs.Eric Anholt
There was a check to only do the rebase if we didn't have everything in VBOs, but nexuiz apparently hands us a mix of VBOs and arrays, resulting in blocking on the GPU to do a rebase. Improves nexuiz 800x600, high-settings performance on my Ironlake 41% (+/- 1.3%), from 14.0fps to 19.7fps.
2010-04-27mesa: Move GLES1/2 vbo entrypoints to vbo_exec_api.cKristian Høgsberg
This let's us drop stubs.c.
2010-04-04mesa: implement core Mesa support for GL_ARB_draw_instancedBrian Paul
2009-09-08mesa: Add support for ARB_draw_elements_base_vertex.Eric Anholt
2009-08-12vbo: 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.
2008-07-07mesa: added GLAPIENTRY keywordsJonathan White
2008-07-03mesa: added _vbo_VertexAttrib4f()Brian Paul
2008-06-20mesa: added _vbo_Materialfv()Brian Paul
2008-06-20mesa: _vbo_Color4f, _vbo_Normal3f, _vbo_MultiTexCoord4f functionsBrian Paul
2007-12-07New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵Brian
module.
2007-08-17added vbo_use_buffer_objects() to specify that immediate mode data should be ↵Brian
put into bufferobjects
2007-07-04Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian
of -I flags.
2007-01-30Use new rebase helper. Remove other rebase code.Keith Whitwell
2007-01-30Helper for rebasing draw requests where min_index != 0.Keith Whitwell
2007-01-15Hook in split functionalitykeithw
2006-10-31move public structure definitions to vbo.hKeith Whitwell
2006-10-30switch several dri drivers overKeith Whitwell