mesa: Install a minimal dispatch table during glBegin()/glEnd().
authorEric Anholt <eric@anholt.net>
Wed, 16 Jan 2013 23:20:45 +0000 (15:20 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 22 Jan 2013 05:26:47 +0000 (21:26 -0800)
commitc572251417ef20d1d560b849931321a42b1be578
treeeda6535447a1b48532e286c8dc1a74dba935858d
parent0aaf0445bac453db474cedf27f1d9f45e4acde4d
mesa: Install a minimal dispatch table during glBegin()/glEnd().

This is a step toward getting rid of ASSERT_OUTSIDE_BEGIN_END() in Mesa.

v2: Finish create_beginend_table() comment, move loopback API init into it,
    and add a const flag. (suggestions by Brian)

Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> (v1)
src/mesa/main/context.c
src/mesa/main/mtypes.h
src/mesa/main/vtxfmt.c
src/mesa/vbo/vbo_exec_api.c