summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_draw.c
AgeCommit message (Collapse)Author
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.
2009-01-23mesa: update tnl module for GL_EXT_vertex_array_bgraBrian Paul
Add special case for GLubyte/GL_BGRA color arrays in _tnl_import_array()
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2007-09-29fix VBO-split infinite loop (bug 12164)Brian
2007-04-17In bind_inputs() set VB->EdgeFlag to NULL if it's not needed.Brian
Otherwise, the clip/interp code was finding VB->EdgeFlag to be non-null and reading/writing it when the memory may have been freed earlier in free_space(). This fixes several VTK segfaults/failures reported by Brad King @ Kitware.
2007-01-30Use new rebase helper. Remove other rebase code.Keith Whitwell
2007-01-15Remove debug, reenable inplace splitting.keithw
2007-01-15Split too-large draw commands.Keith Whitwell
Use the vbo_split_ functionality to split incoming drawing command to fit within the fixed-size buffers used by software t&l module.
2006-11-03Fix compiler warnings.Keith Whitwell
Add missing code for translating non-GLuint elements.
2006-11-02Fix type-conversion of incoming vertices.Keith Whitwell
Fix mis-application of increment to pointer variable.
2006-11-02Respect array->Normalized flag.Keith Whitwell
Import edgeflag attribute to array of GLbooleans as expected by downstream code.
2006-11-02missing fileKeith Whitwell