]> git.cworth.org Git - apitrace/blobdiff - gui/retracer.h
qapitrace: Add option to replay in singlethreaded mode
[apitrace] / gui / retracer.h
index 915b97fe0252cf86d01d74ee7a02df775eba2a16..bb534698661bd08adeceecaeef5ec5e51e61b6ed 100644 (file)
@@ -31,6 +31,9 @@ public:
     bool isDoubleBuffered() const;
     void setDoubleBuffered(bool db);
 
+    bool isSinglethread() const;
+    void setSinglethread(bool singlethread);
+
     bool isProfilingGpu() const;
     bool isProfilingCpu() const;
     bool isProfilingPixels() const;
@@ -63,6 +66,7 @@ private:
     trace::API m_api;
     bool m_benchmarking;
     bool m_doubleBuffered;
+    bool m_singlethread;
     bool m_captureState;
     bool m_captureThumbnails;
     qlonglong m_captureCall;