summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhivulkan_p_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-10-09 13:34:37 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-10-11 10:58:37 +0200
commit2ac2809ec36af238b3755f176ef45427c1d32467 (patch)
tree1567c3bba1db68c7e249d5a345f14f42ccc45804 /src/gui/rhi/qrhivulkan_p_p.h
parentcd0b5bba9a1a76e03d4b9b5105c4d16d1e1dfd1e (diff)
rhi: Add support for full, direct buffer updates
Change-Id: I02c1f8c32c08d39cde9845d20ba8b02541d9d325 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhivulkan_p_p.h')
-rw-r--r--src/gui/rhi/qrhivulkan_p_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/rhi/qrhivulkan_p_p.h b/src/gui/rhi/qrhivulkan_p_p.h
index 0a1c43f538..5a20e6a757 100644
--- a/src/gui/rhi/qrhivulkan_p_p.h
+++ b/src/gui/rhi/qrhivulkan_p_p.h
@@ -77,6 +77,8 @@ struct QVkBuffer : public QRhiBuffer
void destroy() override;
bool create() override;
QRhiBuffer::NativeBuffer nativeBuffer() override;
+ char *beginFullDynamicUniformBufferUpdateForCurrentFrame() override;
+ void endFullDynamicUniformBufferUpdateForCurrentFrame() override;
VkBuffer buffers[QVK_FRAMES_IN_FLIGHT];
QVkAlloc allocations[QVK_FRAMES_IN_FLIGHT];