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

Performance: Add explicit double-buffering to QGLWidget or QGraphicsView?

    XMLWordPrintable

Details

    Description

      QGLWidget always redraws everything. This is how Qt's OpenGL support works, it does not have a concept of minimal changes. The side effect for Graphics View is that enabling a GL viewport can make everything go very slow; despite all items rendering much faster individually, having everything redrawn makes it lose to the native paint engine, which supports minimal updates.

      One way to solve this problem is to add explicit double-buffering support to QGraphicsView, or possibly even to QGLWidget itself.

      Note: There have been discussions about adding explicit double-buffering to QAbstractScrollArea or QWidget also. Note that since QWidget is already implicitly double-buffered, enabling such an option could cause unwanted triplebuffering.

      Attachments

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

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            hanssen Andreas Aardal Hanssen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes