summaryrefslogtreecommitdiffstats
path: root/src/Runtime/Source/engine/Qt3DSRuntimeView.h
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2019-05-03 13:37:20 +0300
committerAapo Keskimolo <aapo.keskimolo@qt.io>2019-05-07 07:14:23 +0000
commit24fcce4eee6b9e39945340db78dad510c837fb72 (patch)
tree16817e773c61affc715c9ade50b0c9aa485ab27b /src/Runtime/Source/engine/Qt3DSRuntimeView.h
parentcb78fce1c96b469a1e064e76e81ae10e1834cb11 (diff)
Add simple performance view
The F7 button in the viewer now shows the render statistics as well as the layer profiling timers. Task-number: QT3DS-3211 Change-Id: I9553b9c522a9d16efd53b17c1f10538294b2b834 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Runtime/Source/engine/Qt3DSRuntimeView.h')
-rw-r--r--src/Runtime/Source/engine/Qt3DSRuntimeView.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Runtime/Source/engine/Qt3DSRuntimeView.h b/src/Runtime/Source/engine/Qt3DSRuntimeView.h
index 52aa969c..7b9a5945 100644
--- a/src/Runtime/Source/engine/Qt3DSRuntimeView.h
+++ b/src/Runtime/Source/engine/Qt3DSRuntimeView.h
@@ -211,7 +211,8 @@ public:
public:
static IRuntimeView &Create(ITimeProvider &inProvider, IWindowSystem &inWindowSystem,
- IAudioPlayer *inAudioPlayer = nullptr);
+ IAudioPlayer *inAudioPlayer = nullptr,
+ QElapsedTimer *startupTimer = nullptr);
public:
QRuntimeViewSignalProxy *signalProxy();