[Mesa-dev] [PATCH v2 0/3] add i965 primitive restart hardware support where possible
Jordan Justen
jordan.l.justen at intel.com
Thu May 17 11:21:25 PDT 2012
v2:
* Only enable NV_primitive_restart for gen >= 4
* Move function names to the beginning of lines
* Don't include brw_context.h from brw_draw.h
* brw_handle_primitive_restart returns GLboolean instead
of bool
* Only call vbo_sw_primitive_restart once in
brw_handle_primitive_restart
* Add comments to various functions
v1:
* Enable NV_primitive_restart for all hardware. (Software primitive
restart is used where necessary)
* If hardware supports cut index and cut index can handle the
primitive restart scenario, then use cut index to implement
hardware support for primitive restart during the draw.
Jordan Justen (3):
i965: create code path to handle primitive restart in hardware
i965: add flag to enable cut_index
i965: use cut index to handle primitive restart when possible
docs/GL3.txt | 2 +-
src/mesa/drivers/dri/i965/Makefile.sources | 1 +
src/mesa/drivers/dri/i965/brw_context.c | 3 +
src/mesa/drivers/dri/i965/brw_context.h | 6 +
src/mesa/drivers/dri/i965/brw_defines.h | 2 +
src/mesa/drivers/dri/i965/brw_draw.c | 6 +
src/mesa/drivers/dri/i965/brw_draw.h | 7 +
src/mesa/drivers/dri/i965/brw_draw_upload.c | 9 +-
src/mesa/drivers/dri/i965/brw_primitive_restart.c | 166 +++++++++++++++++++++
src/mesa/drivers/dri/intel/intel_extensions.c | 4 +
10 files changed, 204 insertions(+), 2 deletions(-)
create mode 100644 src/mesa/drivers/dri/i965/brw_primitive_restart.c
mode change 100644 => 100755 src/mesa/drivers/dri/intel/intel_extensions.c
--
1.7.9.5
More information about the mesa-dev
mailing list