summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/errors.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2013-08-26 16:49:37 +1000
committerBrian Paul <[email protected]>2013-09-04 07:47:48 -0600
commitf5badf467155599755258e2370845622d2e8c496 (patch)
tree1c905391dc13c1c5b3034f940a7c3ff6bfa08121 /src/mesa/main/errors.h
parent77d38fd3fb5a915911f81bca538c0f0b9d8ad64f (diff)
mesa: Share common code between ARB_debug_output and KHR_debug functions
Signed-off-by: Timothy Arceri <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/errors.h')
-rw-r--r--src/mesa/main/errors.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mesa/main/errors.h b/src/mesa/main/errors.h
index 5b4f36f5567..ff6f5c69c08 100644
--- a/src/mesa/main/errors.h
+++ b/src/mesa/main/errors.h
@@ -102,6 +102,21 @@ _mesa_DebugMessageControlARB(GLenum source, GLenum type, GLenum severity,
void GLAPIENTRY
_mesa_DebugMessageCallbackARB(GLDEBUGPROCARB callback,
const void *userParam);
+void GLAPIENTRY
+_mesa_DebugMessageInsert(GLenum source, GLenum type, GLuint id,
+ GLenum severity, GLint length,
+ const GLchar* buf);
+GLuint GLAPIENTRY
+_mesa_GetDebugMessageLog(GLuint count, GLsizei logSize, GLenum* sources,
+ GLenum* types, GLenum* ids, GLenum* severities,
+ GLsizei* lengths, GLchar* messageLog);
+void GLAPIENTRY
+_mesa_DebugMessageControl(GLenum source, GLenum type, GLenum severity,
+ GLsizei count, const GLuint *ids,
+ GLboolean enabled);
+void GLAPIENTRY
+_mesa_DebugMessageCallback(GLDEBUGPROC callback,
+ const void *userParam);
#ifdef __cplusplus
}