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
- depends on
-
QTBUG-78986 Add buffer readback to QRhiResourceUpdateBatch
- Closed
- relates to
-
QTBUG-78615 Withdrawn: Autotest QRhi/backend APIs via the Null backend
- Closed
-
QTBUG-78972 Improve QRhi regression testing - further autotests? Lancelot? etc.
- Closed
- mentioned in
-
Page Loading...
For Gerrit Dashboard: QTBUG-78971 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
276114,8 | rhi: Exercise nativeHandles() in qrhi test | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
276141,17 | rhi: Add support for buffer readbacks | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
276350,4 | rhi: Autotest basic texture operations | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
276422,2 | rhi: Autotest rendering a triangle | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |
276550,5 | rhi: Autotest rendering a textured quad | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |