From f5badf467155599755258e2370845622d2e8c496 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 26 Aug 2013 16:49:37 +1000 Subject: mesa: Share common code between ARB_debug_output and KHR_debug functions Signed-off-by: Timothy Arceri Reviewed-by: Brian Paul --- src/mesa/main/errors.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/mesa/main/errors.h') 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 } -- cgit v1.2.3