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

Extend qrhi autotest exercising APIs with offscreen targets

    XMLWordPrintable

    Details

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

      Description

      Some functionality, even though not directly rendering-related, cannot be tested without preparing a frame. Use only beginOffscreenFrame() in this task, meaning no swapchain and QWindow needs to be created. If a renderpass is needed use a texture as the target.

      Leave testing full-blown onscreen cases to QTBUG-78972.

      Things to exercise:

      • nativeHandles() on various objects
      • importing context/device/texture
      • QRhiResourceUpdateBatch. creating, submitting, merging.
        • buffer operations (update/upload)
        • texture operations (upload, copy, readback)
      • beginOffscreenFrame, clearing and rendering something simple to a texture

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-78971
          # 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