]> git.cworth.org Git - apitrace/blobdiff - glstate.hpp
Add os::Path.trimFilename function.
[apitrace] / glstate.hpp
index 1342629084f8d01bc444d1ba536924037350e295..67044351228978d8bdc2309c54884cc59a4e2485 100644 (file)
 
 #include <ostream>
 
+#include "glimports.hpp"
+
+
+class JSONWriter;
+
+
+namespace image {
+    class Image;
+}
+
 
 namespace glstate {
 
 
-void state_dump(std::ostream &os);
+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 glretrace */
+} /* namespace glstate */
 
 
 #endif /* _GLSTATE_HPP_ */