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

Particles are causing unnecessary batch uploads

    XMLWordPrintable

Details

    • Linux/X11, QNX, Windows
    • 9aa3db2e19b2e1622b878cf34b1978f4fdbcac39 (qt/qtdeclarative/dev) 4d77a0727e18fb3391567b55b213e8721c43cea1 (qt/qtdeclarative/6.1)

    Description

      Please run the attached example, the QSG_RENDERER_DEBUG=render shows, that the text is uploaded with every frame, which shouldn't be necessary.

      0x7fb62017d830 [  upload] [noclip] [ alpha] [  merged]  Nodes:    1  Vertices:    32  Indices:    48  root: 0x0 opacity: 1
      

      When the Text code is moved to the bottom or has a different z value than the particles:

      - 0x7fe50c1a2ce0 [retained] [noclip] [ alpha] [  merged]  Nodes:    1  Vertices:    32  Indices:    48  root: 0x0 opacity: 1
      

      no uploads are happening.

      Attachments

        1. 0001-WIP-Attempt-at-improving-batch-overlap-detection.patch
          4 kB
          Eskil Abrahamsen Blomfeldt
        2. qnx-particle-test.zip
          6 kB
          Karim Pinter

        Issue Links

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              karimpinter Karim Pinter (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: