Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-28487

Always under 30 FPS on BB10

    XMLWordPrintable

Details

    Description

      No matter what I do I cannot get over 30 FPS with QtQuick 2.0 on BB10. The result is, that animations, scrolling, etc. look choppy and/or laggy.

      To see the FPS you can enable the red system overlay on the BB10 DevAlpha.

      Here is a small test case to demonstrate the issue:

      import QtQuick 2.0
      
      Rectangle {
          width: 450
          height: 800
          color: "gray"
      
          Rectangle {
              height: 600
              width: 600
              color: "lightblue"
              opacity: 0.5
              anchors.centerIn: parent
              RotationAnimation on rotation {
                  id: anim
                  from: 0
                  to: 360
                  duration: 5000
                  loops: Animation.Infinite
              }
          }
      
          Text {
              text: "Click to accelerate"
              font.pixelSize: 40
              color: "black"
              anchors.centerIn: parent
          }
      
          MouseArea {
              anchors.fill: parent
              onClicked: {
                  if (anim.duration > 500) {
                      anim.duration -= anim.duration > 1000 ? 1000 : 500
                      anim.restart()
                  }
              }
          }
      }
      

      Attachments

        1. bb10_aa_crop.png
          bb10_aa_crop.png
          3 kB
        2. bb10_aa.png
          bb10_aa.png
          20 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            aalpert Alan Alpert
            conny Cornelius Hald
            Votes:
            2 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes