mesa: add PrimitiveRestartInSoftware to gl_context.Const
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 7 May 2012 22:39:31 +0000 (15:39 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 17 May 2012 17:54:26 +0000 (10:54 -0700)
commitfc22fde9d8ba633f9f13ea0c46baa1c826d1377f
tree8dccefff65d3c819e8ae29a36eac638d08826fa1
parentbc8e0f5b0ff82c919ed1ee67e4fad55705937b30
mesa: add PrimitiveRestartInSoftware to gl_context.Const

If set, then the VBO module will handle all primitive
restart scenarios before calling the driver draw_prims.

Software primitive restart support is disabled by default.

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/main/context.c
src/mesa/main/mtypes.h