Commit 8d4abee1 authored by Miikka Heikkinen's avatar Miikka Heikkinen
Browse files

Clean up commandthroughput manual test a bit


Change-Id: I7d94d3431c8234b6cb2011342daa9d97a53158c1
Reviewed-by: default avatarTomi Korpipää <tomi.korpipaa@theqtcompany.com>
Reviewed-by: default avatarPasi Keränen <pasi.keranen@digia.com>
parent e05b1306
No related merge requests found
Showing with 1 addition and 15 deletions
...@@ -58,7 +58,6 @@ Item { ...@@ -58,7 +58,6 @@ Item {
property double xRotAnim: 0 property double xRotAnim: 0
property double yRotAnim: 0 property double yRotAnim: 0
property double zRotAnim: 0 property double zRotAnim: 0
property bool isRunning: true
property int itemCount: 0 property int itemCount: 0
property int maxCount: 5000 property int maxCount: 5000
property int frameTime: 0 property int frameTime: 0
...@@ -87,19 +86,6 @@ Item { ...@@ -87,19 +86,6 @@ Item {
onDevicePixelRatioChanged: { onDevicePixelRatioChanged: {
GLCode.onCanvasResize(canvas3d); GLCode.onCanvasResize(canvas3d);
} }
Keys.onSpacePressed: {
canvas3d.isRunning = !canvas3d.isRunning
if (canvas3d.isRunning) {
objAnimationX.pause();
objAnimationY.pause();
objAnimationZ.pause();
} else {
objAnimationX.resume();
objAnimationY.resume();
objAnimationZ.resume();
}
}
} }
Timer { Timer {
...@@ -125,7 +111,7 @@ Item { ...@@ -125,7 +111,7 @@ Item {
id: fpsLabel id: fpsLabel
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
Layout.fillWidth: false Layout.fillWidth: false
Layout.preferredWidth : 180 Layout.preferredWidth : 200
text: "Fps: " + canvas3d.fps + " GL:" + canvas3d.frameTime + " onPaintGL:" + canvas3d.frameSetupTime text: "Fps: " + canvas3d.fps + " GL:" + canvas3d.frameTime + " onPaintGL:" + canvas3d.frameSetupTime
color: "#FFFFFF" color: "#FFFFFF"
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment