Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74406 Abstract away the graphics APIs in Qt
  3. QTBUG-78984

Make buffer operations extensible in QRhiResourceUpdateBatch

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Fix Version/s: 5.14
    • Component/s: Qt RHI
    • Labels:
      None

      Description

      There are ordering issues with the way buffer operations are handled in QRhiResourceUpdateBatch. This was fixed for textures, but the same problem will appear for buffers once operations like Read and Copy are introduced.

      Enqueuing multiple operations on the same batch must be processed in the order they were added (only across the same resource type, i.e. there is no ordering guarantee between buffer and texture operations with respect to each other).

      Now that we are running into needing buffer readback operations (in autotests for instance), it turns out adding them is not trivial. Let's fix the underlying issues first.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              lagocs Laszlo Agocs
              Reporter:
              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