diff options
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop_p.h')
-rw-r--r-- | src/quick/scenegraph/qsgthreadedrenderloop_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop_p.h b/src/quick/scenegraph/qsgthreadedrenderloop_p.h index 1a99cc7ddf..8ccd42c5fd 100644 --- a/src/quick/scenegraph/qsgthreadedrenderloop_p.h +++ b/src/quick/scenegraph/qsgthreadedrenderloop_p.h @@ -52,6 +52,7 @@ // #include <QtCore/QThread> +#include <QtCore/QElapsedTimer> #include <private/qsgcontext_p.h> #include "qsgrenderloop_p.h" @@ -100,6 +101,7 @@ private: QQuickWindow *window; QSGRenderThread *thread; QSurfaceFormat actualWindowFormat; + QElapsedTimer timeBetweenPolishAndSyncs; uint updateDuringSync : 1; uint forceRenderPass : 1; }; |