projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glthread: don't upload for glDraw inside a display list and always sync
[mesa.git]
/
src
/
mesa
/
main
/
glthread.h
diff --git
a/src/mesa/main/glthread.h
b/src/mesa/main/glthread.h
index d09abb8e28f1b0a22d16e9e6cc6de8ac4aad2ab0..34a5443a6daff75f3affb53b0fe1cd3835461df3 100644
(file)
--- a/
src/mesa/main/glthread.h
+++ b/
src/mesa/main/glthread.h
@@
-123,6
+123,9
@@
struct glthread_state
/** Whether GLThread is enabled. */
bool enabled;
+ /** Whether GLThread is inside a display list generation. */
+ bool inside_dlist;
+
/** The ring of batches in memory. */
struct glthread_batch batches[MARSHAL_MAX_BATCHES];