X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glstate.hpp;h=2cc929a815b65608a6b0d317fc9da73fa95b4df2;hb=1a9f7af32205d900c88fef0b544546eb0d7c84ee;hp=521830b22089e8a3489a3ee32bb0dc6693db71b5;hpb=589082df2ebc7654cbe980658793213d509266a3;p=apitrace diff --git a/glstate.hpp b/glstate.hpp index 521830b..2cc929a 100644 --- a/glstate.hpp +++ b/glstate.hpp @@ -26,8 +26,36 @@ #ifndef _GLSTATE_HPP_ #define _GLSTATE_HPP_ + #include -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_ */