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

QGLFramebufferObject object pool is NOT correctly implemented, causes memory leaking/continuously growing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P4: Low P4: Low
    • None
    • 4.8.4
    • GUI: OpenGL
    • None
    • This situation occurs when compiling QtWebKit 5.0 on the Qt-4.8.x platform.

      When upper app client asks for a fbo with QGLFramebufferObjectFormat samples=4
      But the under graphics driver may not support this value,
      So it change the samples to 0, and return the fbo

      But when the fbo is released back into pool(#see QGLFramebufferObjectPool::release)
      And next asked for the recycled fbo, it never matches
      So a new fbo is created! ...

      This will cause memory continuously growing

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

            sletta Gunnar Sletta
            chenzx Chen Zhixiang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes