aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/glthread.h')
-rw-r--r--src/mesa/main/glthread.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/main/glthread.h b/src/mesa/main/glthread.h
index 98ae11509a6..04eb5ffabc4 100644
--- a/src/mesa/main/glthread.h
+++ b/src/mesa/main/glthread.h
@@ -79,6 +79,18 @@ struct glthread_state
* be accessed.
*/
struct glthread_batch *batch;
+
+ /**
+ * Tracks on the main thread side whether the current vertex array binding
+ * is in a VBO.
+ */
+ bool vertex_array_is_vbo;
+
+ /**
+ * Tracks on the main thread side whether the current element array (index
+ * buffer) binding is in a VBO.
+ */
+ bool element_array_is_vbo;
};
/**