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

Render all cached QGraphicsItems first, then render the rest of the scene.

    XMLWordPrintable

Details

    Description

      When using a hardware acceleration like OpenGL or OpenVG, switching render targets is very expensive. If the QPixmap backend is rendered into using one of these APIs, the cost of switching rendering to the QPixmap and back again is very high. It would be beneficial if QGraphicsView could collect up all the QGraphicsItems which will be re-directed to QPixmaps and render them all in one pass before switching to the actual viewport to do the render. This could potentially halve the number of render target changes. However, if QPixmaps are being rendered into using the raster paint engine (as they currently are) then the performance hit is negligible.

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            tcooksey Tom Cooksey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes