]> git.cworth.org Git - apitrace/blobdiff - retrace/glretrace.hpp
Improved profiling capabilities.
[apitrace] / retrace / glretrace.hpp
index fea187cf05ed19b474d255bb828000d255a71464..bfc6398abdc2c5b7bd3900b38789df49e48c12c0 100644 (file)
@@ -33,6 +33,7 @@
 namespace glretrace {
 
 
+extern bool insideList;
 extern bool insideGlBeginEnd;
 
 
@@ -64,11 +65,18 @@ extern const retrace::Entry glx_callbacks[];
 extern const retrace::Entry wgl_callbacks[];
 extern const retrace::Entry egl_callbacks[];
 
+void frame_start();
 void frame_complete(trace::Call &call);
 
 void updateDrawable(int width, int height);
 
+void flushQueries();
+void beginProfile(trace::Call &call);
+void endProfile(trace::Call &call);
+
+void setActiveProgram(GLuint program);
 } /* namespace glretrace */
 
+GLuint retrace_unmap_program(GLuint val);
 
 #endif /* _GLRETRACE_HPP_ */