summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2013-08-26 16:39:46 +1000
committerBrian Paul <[email protected]>2013-09-04 07:47:48 -0600
commit77d38fd3fb5a915911f81bca538c0f0b9d8ad64f (patch)
treebeee6e6534f924b43d9b678d50355a44bfcc5660 /src/mesa/main/config.h
parent644fbbd3ebe58ee2237395904f83e085f221d52d (diff)
mesa: Add some constants and state variables for KHR_debug functions
Signed-off-by: Timothy Arceri <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 1d2ab4dc016..0bcf27c345b 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -249,12 +249,17 @@
#define MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 1024
/*@}*/
-/** For GL_ARB_debug_output */
+/** For GL_ARB_debug_output and GL_KHR_debug */
/*@{*/
#define MAX_DEBUG_LOGGED_MESSAGES 10
#define MAX_DEBUG_MESSAGE_LENGTH 4096
/*@}*/
+/** For GL_KHR_debug */
+/*@{*/
+#define MAX_LABEL_LENGTH 256
+#define MAX_DEBUG_GROUP_STACK_DEPTH 64
+/*@}*/
/*
* Color channel component order