--- src/mesa/main/mtypes.h | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 41f6470..d381719 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3194,6 +3194,13 @@ OTHER_ERROR_OUT_OF_MEMORY, OTHER_ERROR_COUNT } OtherError; +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; @@ -3203,8 +3210,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[_MESA_MAX_DEBUG_LOGGED_MESSAGES]; GLint NumMessages; GLint NextMsg; -- 1.7.0.4
From 295624edb588b5633f1d932a08077aa0767011d8 Mon Sep 17 00:00:00 2001 From: nobled <nob...@dreamwidth.org> Date: Mon, 2 May 2011 17:52:28 +0000 Subject: [PATCH 09/10] mesa: add yet more context fields for GL_ARB_debug_output --- src/mesa/main/mtypes.h | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 41f6470..d381719 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3194,6 +3194,13 @@ OTHER_ERROR_OUT_OF_MEMORY, OTHER_ERROR_COUNT } OtherError; +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; @@ -3203,8 +3210,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[_MESA_MAX_DEBUG_LOGGED_MESSAGES]; GLint NumMessages; GLint NextMsg; -- 1.7.0.4
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev