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

QQuickFramebufferObject::Renderer::invalidateFramebufferObject does not work as documented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.5.1
    • Fix Version/s: 5.9.2
    • Component/s: Quick: Other
    • Labels:
      None

      Description

      The documentation for invalidateFramebufferObject claims:

      Call this function during synchronize() to invalidate the current FBO. This will result in a new FBO being created with createFramebufferObject().

      This function sets the invalidatePending flag, which is then tested in updatePaintNode. However, if the size of the framebuffer matches the desired size (which is usually the case), then the fbo will not be reset and createFramebufferObject will not be called subsequently.

      (tested in 5.5.1, but code appears unchanged in latest)

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              whagen Wieland Hagen
              Reporter:
              krandell Kim Randell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes