gltrace: Move GL_EXT_debug_marker/label from GLES to ES specs.
They are also available in GL, and Apple actually advertises them in MacOSX:
https://developer.apple.com/graphicsimaging/opengl/capabilities/
diff --git a/specs/glapi.py b/specs/glapi.py
index 242f0ba..72fc00e 100644
--- a/specs/glapi.py
+++ b/specs/glapi.py
@@ -3018,6 +3018,15 @@
# GL_NV_framebuffer_blit
GlFunction(Void, "glBlitFramebufferNV", [(GLint, "srcX0"), (GLint, "srcY0"), (GLint, "srcX1"), (GLint, "srcY1"), (GLint, "dstX0"), (GLint, "dstY0"), (GLint, "dstX1"), (GLint, "dstY1"), (GLbitfield_attrib, "mask"), (GLenum, "filter")]),
+ # GL_EXT_debug_label
+ GlFunction(Void, "glLabelObjectEXT", [(GLenum, "type"), (GLuint, "object"), (GLsizei, "length"), (GLstringConst, "label")]),
+ GlFunction(Void, "glGetObjectLabelEXT", [(GLenum, "type"), (GLuint, "object"), (GLsizei, "bufSize"), Out(Pointer(GLsizei), "length"), Out(GLstring, "label")], sideeffects=False),
+
+ # GL_EXT_debug_marker
+ GlFunction(Void, "glInsertEventMarkerEXT", [(GLsizei, "length"), (String(Const(GLchar), "length ? length : strlen(marker)"), "marker")], sideeffects=False),
+ GlFunction(Void, "glPushGroupMarkerEXT", [(GLsizei, "length"), (String(Const(GLchar), "length ? length : strlen(marker)"), "marker")], sideeffects=False),
+ GlFunction(Void, "glPopGroupMarkerEXT", [], sideeffects=False),
+
# GL_KTX_buffer_region
# XXX: http://www.west.net/~brittain/3dsmax2.htm does not mention EXT suffix
GlFunction(GLregion, "glNewBufferRegion", [(GLenum, "type")]),