]> git.cworth.org Git - apitrace/blobdiff - glretrace.hpp
Use double buffer visuals by default.
[apitrace] / glretrace.hpp
index cb130bbe42845c347a5158e370f749840cef311b..74eb6742ede89d50b750d8c2584837f9e8e1260d 100644 (file)
@@ -26,8 +26,6 @@
 #ifndef _GLRETRACE_HPP_
 #define _GLRETRACE_HPP_
 
-#include <ostream>
-
 #include "trace_parser.hpp"
 #include "glws.hpp"
 
@@ -43,9 +41,6 @@ extern glws::Visual *visual;
 extern glws::Drawable *drawable;
 extern glws::Context *context;
 
-extern int window_width;
-extern int window_height;
-
 extern unsigned frame;
 extern long long startTime;
 extern bool wait;
@@ -57,15 +52,15 @@ extern const char *snapshot_prefix;
 extern unsigned dump_state;
 
 void
-checkGlError(const Trace::Call &call);
+checkGlError(Trace::Call &call);
 
+void retrace_call_cgl(Trace::Call &call);
 void retrace_call_glx(Trace::Call &call);
 void retrace_call_wgl(Trace::Call &call);
 
+void snapshot(unsigned call_no);
 void frame_complete(unsigned call_no);
 
-void state_dump(std::ostream &os);
-
 
 } /* namespace glretrace */