aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@crimson.no>2017-04-25 10:50:31 +0200
committerRobin Burchell <robin.burchell@crimson.no>2017-04-25 12:23:03 +0000
commit6fd3d3a4364fb103c1b95e35b5a9d84579cf1dff (patch)
treef72b51def6d3f15ea55457510d3353d448ec2c35
parent1242bc94ebbd0bb1516d7e8804a9ea36c783a163 (diff)
Revert frame-count countDown changes
This reverts commit 16c6b173d5ad7e7d946a7d8dbae8fc8eda673bb2. This reverts commit 0ecfdc41ebfabe50c816c6877192281bbf426cc8. These are complete bunk after all. We recreate the shell each iteration, so this has no impact at all. Change-Id: I1693a1d4acbc18cbe0427422b2196398c83556da Reviewed-by: Gunnar Sletta <gunnar@crimson.no>
-rw-r--r--src/Shell_TotalFramesWithStaticCount.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Shell_TotalFramesWithStaticCount.qml b/src/Shell_TotalFramesWithStaticCount.qml
index 208a052..e6a54de 100644
--- a/src/Shell_TotalFramesWithStaticCount.qml
+++ b/src/Shell_TotalFramesWithStaticCount.qml
@@ -79,8 +79,7 @@ Item {
property real t;
NumberAnimation on t { from: 0; to: 1; duration: 1000; loops: Animation.Infinite }
property bool inv;
- property int countDown: originalCountDown;
- property int originalCountDown: 5
+ property int countDown: 5;
onTChanged: {
// Run a small countdown for the first few frames so that
// benchmarks that test animation (without creation) has a
@@ -101,7 +100,6 @@ Item {
interval: benchmark.frameCountInterval
onTriggered: {
benchmark.recordOperationsPerFrame(root.count);
- swapTest.countDown = swapTest.originalCountDown
}
}