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
- is required for
-
QTBUG-78587 Identify and possibly fix performance issues with qmlbench on the QRhi based rendering path in Qt Quick
- Closed
- relates to
-
QTBUG-78852 QRhi OpenGL/Vulkan backend: consider if dynamic buffers should follow the MAP_DISCARD style approach like d3d11
- Closed
- mentioned in
-
Page Loading...