]> git.tdb.fi Git - libs/gl.git/commit
Multiplex streaming buffer contents on Vulkan
authorMikko Rasa <tdb@tdb.fi>
Sun, 19 Dec 2021 11:39:08 +0000 (13:39 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 20 Dec 2021 00:14:45 +0000 (02:14 +0200)
commit6d2e2a0bb28496a8c25b441009bdd2a1a1e72d81
tree7564cc09e0e4fe10c87da0f62bfd430072eecc9a
parent5003bcfeb0832ec2d0f74f4149bc97888a70a900
Multiplex streaming buffer contents on Vulkan

This ensures that the data stays valid until the draw commands using it
have finished executing.
16 files changed:
source/backends/opengl/buffer_backend.cpp
source/backends/opengl/buffer_backend.h
source/backends/vulkan/buffer_backend.cpp
source/backends/vulkan/buffer_backend.h
source/backends/vulkan/commands_backend.cpp
source/backends/vulkan/commands_backend.h
source/backends/vulkan/pipelinestate_backend.cpp
source/backends/vulkan/pipelinestate_backend.h
source/backends/vulkan/program_backend.cpp
source/core/buffer.cpp
source/core/buffer.h
source/core/bufferable.cpp
source/core/bufferable.h
source/render/programdata.cpp
source/render/programdata.h
source/render/renderer.cpp