vbo: add software primitive restart support
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 7 May 2012 22:50:21 +0000 (15:50 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 17 May 2012 17:54:26 +0000 (10:54 -0700)
commitbc8e0f5b0ff82c919ed1ee67e4fad55705937b30
treeb0bda74afbe132214c266d3e019e59bf713f6ceb
parent5a827d9a2b5d698fed98a5d62ff0292b48bdd6c7
vbo: add software primitive restart support

vbo_sw_primitive_restart implements primitive restart in software
by splitting primitive draws apart.

This is based on similar support in mesa/state_tracker/st_draw.c.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/SConscript
src/mesa/sources.mak
src/mesa/vbo/vbo.h
src/mesa/vbo/vbo_primitive_restart.c [new file with mode: 0644]