]> git.cworth.org Git - apitrace/blobdiff - retrace/retrace.hpp
Don't try to share surfaces.
[apitrace] / retrace / retrace.hpp
index f0bc4534b69d068f89518050b6361e0dfc9a0764..2f75dbe6f5285cea539f22123e0d8523fa9d8d35 100644 (file)
 #include "trace_parser.hpp"
 
 
+namespace image {
+    class Image;
+}
+
+
 namespace retrace {
 
 
@@ -185,9 +190,9 @@ toPointer(trace::Value &value, bool bind = false);
 extern int verbosity;
 
 /**
- * Avoid expensive checks when benchmarking.
+ * Debugging checks.
  */
-extern bool benchmark;
+extern bool debug;
 
 /**
  * Add profiling data to the dump when retracing.
@@ -195,6 +200,10 @@ extern bool benchmark;
 extern bool profiling;
 
 
+extern bool doubleBuffer;
+extern bool coreProfile;
+
+
 std::ostream &warning(trace::Call &call);
 
 
@@ -241,6 +250,31 @@ public:
 };
 
 
+void
+setUp(void);
+
+void
+addCallbacks(retrace::Retracer &retracer);
+
+void
+frameComplete(trace::Call &call);
+
+image::Image *
+getSnapshot(void);
+
+bool
+dumpState(std::ostream &os);
+
+void
+flushRendering(void);
+
+void
+waitForInput(void);
+
+void
+cleanUp(void);
+
+
 } /* namespace retrace */
 
 #endif /* _RETRACE_HPP_ */