]> git.cworth.org Git - apitrace/blobdiff - glstate.hpp
Define all D2D/DWRITE GUIDs
[apitrace] / glstate.hpp
index 521830b22089e8a3489a3ee32bb0dc6693db71b5..0a83a599a098b00828137c53ef93bf87fd897b8e 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(void);
+
+
+} /* namespace glstate */
+
 
 #endif /* _GLSTATE_HPP_ */