From 24fcce4eee6b9e39945340db78dad510c837fb72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20M=C3=A4=C3=A4tt=C3=A4?= Date: Fri, 3 May 2019 13:37:20 +0300 Subject: Add simple performance view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ää --- src/Runtime/Source/engine/Qt3DSRuntimeView.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Runtime/Source/engine/Qt3DSRuntimeView.h') 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(); -- cgit v1.2.3