diff options
Diffstat (limited to 'src/mesa/main/glthread.h')
-rw-r--r-- | src/mesa/main/glthread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/glthread.h b/src/mesa/main/glthread.h index d8e9c3da84a..0d48438b9bd 100644 --- a/src/mesa/main/glthread.h +++ b/src/mesa/main/glthread.h @@ -86,6 +86,9 @@ struct glthread_state /** This is sent to the driver for framebuffer overlay / HUD. */ struct util_queue_monitoring stats; + /** Whether GLThread is enabled. */ + bool enabled; + /** The ring of batches in memory. */ struct glthread_batch batches[MARSHAL_MAX_BATCHES]; |