[Mesa-dev] [PATCH 0/8] move software primitive restart into VBO module
Jordan Justen
jordan.l.justen at intel.com
Fri May 11 08:15:50 PDT 2012
v1:
* move software primitive restart from mesa/state_tracker/st_draw.c
into src/mesa/vbo/vbo_primitive_restart.c
* if the gallium PIPE_CAP_PRIMITIVE_RESTART param is set, then
the VBO software primitive restart support is disabled
* enable the NV_primitive_restart extension by default
* tested with i965 and llvmpipe (PIPE_CAP_PRIMITIVE_RESTART
manually removed)
Jordan Justen (8):
vbo: add software primitive restart support
mesa: add PrimitiveRestartInSoftware to gl_context.Const
state_tracker: clear PrimitiveRestartInSoftware if needed
vbo: use software primitive restart in the VBO module
main: enable NV_primitive_restart extension by default
state_tracker: NV_primitive_restart is now enabled by default
state_tracker: remove software handling of primitive restart
state_tracker: remove sw_primitive_restart from st_context
src/mesa/SConscript | 1 +
src/mesa/main/context.c | 3 +
src/mesa/main/extensions.c | 2 +
src/mesa/main/mtypes.h | 5 +
src/mesa/sources.mak | 1 +
src/mesa/state_tracker/st_context.h | 1 -
src/mesa/state_tracker/st_draw.c | 180 +------------------------
src/mesa/state_tracker/st_extensions.c | 5 +-
src/mesa/vbo/vbo.h | 6 +
src/mesa/vbo/vbo_exec_array.c | 50 +++++--
src/mesa/vbo/vbo_primitive_restart.c | 226 ++++++++++++++++++++++++++++++++
11 files changed, 285 insertions(+), 195 deletions(-)
create mode 100644 src/mesa/vbo/vbo_primitive_restart.c
--
1.7.9.5
More information about the mesa-dev
mailing list