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

Make Widgets update/repaint use QWindow::requestUpdate()

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P4: Low
    • None
    • None
    • None

    Description

      Currently QWidgetBackingStore::UpdateLater behavior is implemented posting an UpdateRequest event to the event loop, which is then serviced during the next round of event processing. See QWidgetBackingStore::sendUpdateRequest() and QEvent::UpdateRequest handling in qwidget.cpp

      It is desirable to let the platform plugin drive such updates instead. This would for example allow driving animations with CVDisplayLinks on OS X.

      We have an API for this already: QWindow::requestUpdate(), where the default behavior uses the event loop like Widgets does today. Remaining task is to switch Widgets over to using that.

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              sorvig Morten Sørvig
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes