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

FBOs never released

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.9, 5.10, 5.11
    • Qt3D
    • None

      While looking into QTBUG-65080 I came across another strange thing: FBOs are never actually released, it seems. Any QRenderTarget in a QRenderTargetSelector will lead to creating a new FBO that is then alive for ever.

      The expectation is (IMHO) that destroying a QRenderTarget leads to destroying the FBO (or at least making it free for reuse) internally.

      If the issue in QTBUG-65080 gets fixed, the situation will become more acute since one may then need QRenderTargets (and thus FBOs) just to be able to do a BlitFramebuffer. Now, while one may attempt to work this around by reusing QRenderTargets, but that can get problematic atm due to QTBUG-64757 since one cannot change the texture in a QRenderTargetOutput once set...

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

            seanharmer Sean Harmer
            lagocs Laszlo Agocs
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes