diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-01-18 15:28:38 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2022-01-20 19:33:02 +0100 |
commit | 82e8dbb8b724a18a1b7ca8ad1a9e1df9ec353682 (patch) | |
tree | 2bea2f6d5b3aece3f8a524dd2af5b369e3c42732 /src/quick/scenegraph/qsgthreadedrenderloop.cpp | |
parent | 8d9347085822afe3778909bf879a1274b97b231a (diff) |
sg: remove dead code in threaded render loop
Change-Id: I37630934beedbe2ee8b30a96f87959bd09fb1690
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgthreadedrenderloop.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp index 3d072b8948..6ddc6a5c9d 100644 --- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp +++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp @@ -290,7 +290,6 @@ public: // The SDP 6.6.0 x86 MESA driver requires a larger stack than the default. setStackSize(1024 * 1024); #endif - vsyncDelta = qsgrl_animation_interval(); } ~QSGRenderThread() @@ -349,8 +348,6 @@ public: volatile bool active; - float vsyncDelta; - QMutex mutex; QWaitCondition waitCondition; @@ -1019,10 +1016,6 @@ QSGThreadedRenderLoop::QSGThreadedRenderLoop() : sg(QSGContext::createDefaultContext()) , m_animation_timer(0) { -#if defined(QSG_RENDER_LOOP_DEBUG) - qsgrl_timer.start(); -#endif - m_animation_driver = sg->createAnimationDriver(this); connect(m_animation_driver, SIGNAL(started()), this, SLOT(animationStarted())); |