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

Handle explicitly unthrottled windows better in the threaded render loop

    XMLWordPrintable

Details

    • 8d93470858 (qt/qtdeclarative/dev) 8d93470858 (qt/tqtc-qtdeclarative/dev)

    Description

      When vsync is requested to be disabled for a QQuickWindow explicitly, the logic in the threaded render loop can easily recognize this and fall back to the system timer based way of driving animations. (i.e. behave exactly as if there were more than 1 windows visible, which is another case where driving animations by vsync would not work)

      Note that this would just handle the case where the window has disabled vsync explicitly in the application or via the environment variable (QTBUG-99950).

      This can be extended separately with something smarter that tries to recognize the lack of throttling when the application did not request, but the system does do unthrottled presentation. That's not in scope here though and lives in QTBUG-99952 instead.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              lagocs Laszlo Agocs
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes