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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes