summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h
AgeCommit message (Collapse)Author
2011-01-14draw: Fix an off-by-one bug in a vsplit assertion.Chia-I Wu
When use_spoken is true, istart (the first vertex of this segment) is replaced by i0 (the spoken vertex of the fan). There are still icount vertices. Thanks to Brian Paul for spotting this.
2010-08-25draw: Add draw_set_index_buffer and others.Chia-I Wu
This commit adds draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. The idea behind the new functions is that an index buffer should be a state. draw_arrays and draw_set_mapped_element_buffer are preserved, but the latter will be removed soon.
2010-08-16drwa: Add PRIMITIVE macro to vsplit.Chia-I Wu
PRIMITIVE is used by the indexed path to flush the entire primitive with custom vertex count checks. It replaces the existing fast path.
2010-08-16draw: Add vsplit frontend.Chia-I Wu
vsplit is based on varray. It sets the split flags when a primitive is splitted. It also has support for indexed primitives. For indexed primitives, unlike vcache, vsplit splits the primitives instead of decomposes them.