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

    • Technical task
    • Resolution: Done
    • P2: Important
    • 5.14
    • Qt RHI
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: