]> git.cworth.org Git - apitrace/blobdiff - glstate.hpp
cli: Add a new "apitrace diff" command.
[apitrace] / glstate.hpp
index 521830b22089e8a3489a3ee32bb0dc6693db71b5..67044351228978d8bdc2309c54884cc59a4e2485 100644 (file)
 #ifndef _GLSTATE_HPP_
 #define _GLSTATE_HPP_
 
+
 #include <ostream>
 
-void state_dump(std::ostream &os);
+#include "glimports.hpp"
+
+
+class JSONWriter;
+
+
+namespace image {
+    class Image;
+}
+
+
+namespace glstate {
+
+
+const char *enumToString(GLenum pname);
+
+void dumpEnum(JSONWriter &json, GLenum pname);
+
+void dumpParameters(JSONWriter &json);
+
+void dumpCurrentContext(std::ostream &os);
+
+image::Image *
+getDrawBufferImage(GLenum format);
+
+
+} /* namespace glstate */
+
 
 #endif /* _GLSTATE_HPP_ */