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

Investigate if number of allocations performed while filling up a QRhiResourceUpdateBatch could be reduced

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • P3: Somewhat important
    • 6.0
    • None
    • Qt RHI
    • None

    Description

      https://codereview.qt-project.org/c/qt/qtbase/+/275432 shows an approach to remove the individual QByteArray data; members from individual DynamicBufferUpdate items inside a resource update batch. Rather, a single, batch-level QByteArray is used there, with the individual update descriptions only storing on offset inside the "pool".

      This still allocates/resizes of course, but the there is fewer allocations overall.

      Or figure out something else.

      It could be that the improvements may (also) come from changes on the client side (i.e. the Qt Quick renderer) instead of or in addition to the QRhi API.

      Attachments

        Issue Links

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

          Activity

            People

              lagocs Laszlo Agocs
              lagocs Laszlo Agocs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes