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

QSSGRenderer::cleanupResources() has quadratic complexity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: None
    • Component/s: Quick: 3D
    • Labels:
      None
    • Story Points:
      2

      Description

      QSSGRenderer::cleanupResources() calls QSSGRhiContext::cleanupDrawCallData() in a loop, once per model.

      QSSGRhiContext::cleanupDrawCallData() will loop through m_drawCallData, looking for the model.

       

      For complex scenes, this can cause animation to freeze for several seconds when something changes.

        Attachments

        For Gerrit Dashboard: QTBUG-87103
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            qt.team.graphics.and.multimedia Qt Graphics Team Oslo
            Reporter:
            tvete Paul Olav Tvete
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There is 1 open Gerrit change