summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobled <[email protected]>2011-05-02 17:52:28 +0000
committerMarek Olšák <[email protected]>2012-03-10 21:42:06 +0100
commit4667cb2162d02f5b0fe620a5394aee92c725fb86 (patch)
tree27204865c6b7a83d24ffc856f9e1f0b421ef7eaa
parentc68f0b8cabaa7adf3fac3bf07661491ad4001021 (diff)
mesa: add yet more context fields for GL_ARB_debug_output
-rw-r--r--src/mesa/main/mtypes.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 53544429e37..35dc30bd2d7 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3221,6 +3221,13 @@ typedef enum {
OTHER_ERROR_COUNT
} gl_other_error;
+struct gl_client_debug
+{
+ GLboolean Defaults[3][2][6]; /* severity, source, type */
+ /* TODO: Add an object here that can track the state of an arbitrary
+ number of client-provided IDs. */
+};
+
struct gl_debug_state
{
GLDEBUGPROCARB Callback;
@@ -3230,8 +3237,7 @@ struct gl_debug_state
GLboolean WinsysErrors[WINSYS_ERROR_COUNT];
GLboolean ShaderErrors[SHADER_ERROR_COUNT];
GLboolean OtherErrors[OTHER_ERROR_COUNT];
- /* TODO: Add an object here that tracks the state of client-provided IDs
- in the APPLICATION and THIRD_PARTY namespaces. */
+ struct gl_client_debug ClientIDs;
struct gl_debug_msg Log[MAX_DEBUG_LOGGED_MESSAGES];
GLint NumMessages;
GLint NextMsg;