+ # These entrypoints may be implemented by drivers, but are also very useful
+ # for debugging / analysis tools.
+ debug_functions = [
+ # GL_KHR_debug
+ 'glDebugMessageControl',
+ 'glDebugMessageInsert',
+ 'glDebugMessageCallback',
+ 'glGetDebugMessageLog',
+ 'glPushDebugGroup',
+ 'glPopDebugGroup',
+ 'glObjectLabel',
+ 'glGetObjectLabel',
+ 'glObjectPtrLabel',
+ 'glGetObjectPtrLabel',
+ # GL_ARB_debug_output
+ 'glDebugMessageControlARB',
+ 'glDebugMessageInsertARB',
+ 'glDebugMessageCallbackARB',
+ 'glGetDebugMessageLogARB',
+ # GL_AMD_debug_output
+ 'glDebugMessageEnableAMD',
+ 'glDebugMessageInsertAMD',
+ 'glDebugMessageCallbackAMD',
+ 'glGetDebugMessageLogAMD',
+ ]
+