GL_ARB_debug_output http://www.opengl.org/registry/specs/ARB/debug_output.txt GL_ARB_debug_output GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242 GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243 GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244 GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245 GL_DEBUG_SOURCE_API_ARB 0x8246 GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247 GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248 GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249 GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A GL_DEBUG_SOURCE_OTHER_ARB 0x824B GL_DEBUG_TYPE_ERROR_ARB 0x824C GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250 GL_DEBUG_TYPE_OTHER_ARB 0x8251 GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143 GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144 GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145 GL_DEBUG_SEVERITY_HIGH_ARB 0x9146 GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147 GL_DEBUG_SEVERITY_LOW_ARB 0x9148 void glDebugMessageCallbackARB (GLDEBUGPROCARB callback, void* userParam) void glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled) void glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* buf) GLuint glGetDebugMessageLogARB (GLuint count, GLsizei bufsize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, GLchar* messageLog) typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam)