aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgthreadedrenderloop.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2021-12-22 11:18:03 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2022-01-04 23:00:24 +0100
commitbb111c7d52eba2f74cefe31e8f3e87c3daca340e (patch)
treef0a3e1a7ebc6ebdd633915eeb94b070b68c61efe /src/quick/scenegraph/qsgthreadedrenderloop.cpp
parent146afc851d3c26bb029e879a0a04f29c28c81d44 (diff)
scenegraph: Remove the experimental rhi profiler integration
This infrastructure is going away from QtGui. Change-Id: I8231716c1fd053dbb25ca62ef0ade0963ad0f8a4 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r--src/quick/scenegraph/qsgthreadedrenderloop.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
index 07ce4806f1..985fd7fe0a 100644
--- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp
+++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp
@@ -852,8 +852,6 @@ void QSGRenderThread::syncAndRender()
Q_TRACE(QSG_swap_exit);
Q_QUICK_SG_PROFILE_END(QQuickProfiler::SceneGraphRenderLoopFrame,
QQuickProfiler::SceneGraphRenderLoopSwap);
-
- QSGRhiProfileConnection::instance()->send(rhi);
}
@@ -900,8 +898,6 @@ void QSGRenderThread::ensureRhi()
if (rhi) {
rhiDeviceLost = false;
rhiSampleCount = rhiSupport->chooseSampleCountForWindowWithRhi(window, rhi);
- if (rhiSupport->isProfilingRequested())
- QSGRhiProfileConnection::instance()->initialize(rhi); // ### this breaks down with multiple windows
} else {
if (!rhiDeviceLost) {
rhiDoomed = true;