X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glstate.hpp;h=2cc929a815b65608a6b0d317fc9da73fa95b4df2;hb=93dfad1dc7e20d694e2c8b63515bff8ae91f3700;hp=1342629084f8d01bc444d1ba536924037350e295;hpb=05c3d03723baba7e84457fffabebc05a58933d15;p=apitrace diff --git a/glstate.hpp b/glstate.hpp index 1342629..2cc929a 100644 --- a/glstate.hpp +++ b/glstate.hpp @@ -29,14 +29,33 @@ #include +#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_ */