TestsTab.qml
changeset 21 434d6b8a406d
parent 18 79801cc3bc94
child 22 ca9e48af31e6
     1.1 --- a/TestsTab.qml	Fri May 30 10:56:20 2014 +0200
     1.2 +++ b/TestsTab.qml	Fri May 30 13:45:14 2014 +0200
     1.3 @@ -22,7 +22,10 @@
     1.4          title: "Splash Window"
     1.5          modality: Qt.NonModal
     1.6          flags: Qt.SplashScreen
     1.7 -        property int timeoutInterval: 41
     1.8 +        //24 FPS
     1.9 +        //property int timeoutInterval: 41
    1.10 +        //32 FPS
    1.11 +        property int timeoutInterval: 33
    1.12          signal timeout
    1.13      //! [splash-properties]
    1.14      //! [screen-properties]
    1.15 @@ -129,7 +132,8 @@
    1.16                  {
    1.17                      if (checkBoxFillOnly.checked)
    1.18                      {
    1.19 -                        display.fill();
    1.20 +                        //Trying to make it a worth case scenario for our frame diff algo
    1.21 +                        (splash.frameCounter%3?display.fill():display.clear());
    1.22                      }
    1.23                      else if (checkBoxOnePixelOnly.checked)
    1.24                      {
    1.25 @@ -202,7 +206,7 @@
    1.26  
    1.27          CheckBox {
    1.28              id: checkBoxFillOnly
    1.29 -            text: qsTr("Fill only")
    1.30 +            text: qsTr("Only fill and clear")
    1.31              checked: false
    1.32          }
    1.33