vbo: Make use of _DrawVAO from immediate mode draw
authorMathias Fröhlich <mathias.froehlich@web.de>
Wed, 7 Feb 2018 07:59:13 +0000 (08:59 +0100)
committerMathias Fröhlich <mathias.froehlich@web.de>
Fri, 23 Feb 2018 04:34:07 +0000 (05:34 +0100)
commit8a3a4b6fae75905088ce4fcb42fc50cb09763a10
tree3bbaec8396dadb10097941ede8f8c129a6adb634
parentc757e416ce9547d3335f350fc02c0261d9e006de
vbo: Make use of _DrawVAO from immediate mode draw

Finally use an internal VAO to execute immediate mode draws. Avoid
duplicate state validation for immediate mode draws. Remove client arrays
previously used exclusively for immediate mode draws.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_exec.h
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_exec_draw.c
src/mesa/vbo/vbo_private.h