]> git.cworth.org Git - apitrace/blobdiff - retrace/glstate_internal.hpp
glstate: Dump a few object labels.
[apitrace] / retrace / glstate_internal.hpp
index 6b74b1d58e676f3f707bddd4af13bc78c4159cc8..0fd378ba65fea784f83247e00371fab0a804b35a 100644 (file)
@@ -41,6 +41,8 @@ struct Context
     bool ES;
 
     bool ARB_draw_buffers;
+    bool ARB_sampler_objects;
+    bool KHR_debug;
 
     Context(void);
 
@@ -68,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);