]> git.cworth.org Git - apitrace/blobdiff - retrace/glstate_internal.hpp
glstate: Dump a few object labels.
[apitrace] / retrace / glstate_internal.hpp
index 942c3a69e47147c4ce461a919d10f8f36eca6f30..0fd378ba65fea784f83247e00371fab0a804b35a 100644 (file)
@@ -42,6 +42,7 @@ struct Context
 
     bool ARB_draw_buffers;
     bool ARB_sampler_objects;
+    bool KHR_debug;
 
     Context(void);
 
@@ -69,6 +70,8 @@ void dumpBoolean(JSONWriter &json, GLboolean value);
 
 void dumpEnum(JSONWriter &json, GLenum pname);
 
+void dumpObjectLabel(JSONWriter &json, Context &context, GLenum identifier, GLuint name);
+
 void dumpParameters(JSONWriter &json, Context &context);
 
 void dumpShadersUniforms(JSONWriter &json, Context &context);