summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_private.h
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-02-07 08:59:13 +0100
committerMathias Fröhlich <[email protected]>2018-02-23 05:34:07 +0100
commit8a3a4b6fae75905088ce4fcb42fc50cb09763a10 (patch)
tree3bbaec8396dadb10097941ede8f8c129a6adb634 /src/mesa/vbo/vbo_private.h
parentc757e416ce9547d3335f350fc02c0261d9e006de (diff)
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 <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_private.h')
-rw-r--r--src/mesa/vbo/vbo_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_private.h b/src/mesa/vbo/vbo_private.h
index 2640f3e21f9..1f3d31f577a 100644
--- a/src/mesa/vbo/vbo_private.h
+++ b/src/mesa/vbo/vbo_private.h
@@ -48,6 +48,8 @@ struct vbo_context {
/* The array of inputs used for _DrawVAO draws. */
struct vbo_inputs draw_arrays;
+ struct gl_vertex_array_object *VAO;
+
struct vbo_exec_context exec;
struct vbo_save_context save;