]> git.tdb.fi Git - libs/gl.git/commit
Redesign asynchronous buffer uploads
authorMikko Rasa <tdb@tdb.fi>
Fri, 24 Dec 2021 10:25:46 +0000 (12:25 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 24 Dec 2021 10:25:46 +0000 (12:25 +0200)
commitc356a20547afae97b412da36e0b0a7d51e879401
treef6f98f129743fc821460575dcec824a63603d5d7
parent7d221b1fd6194e59bc0783740a2a17ac71fa4da5
Redesign asynchronous buffer uploads

The Buffer class now offers an async version of sub_data, which can
better account for exactly how the data needs to be uploaded.
source/backends/opengl/buffer_backend.cpp
source/backends/vulkan/buffer_backend.cpp
source/backends/vulkan/synchronizer.cpp
source/backends/vulkan/synchronizer.h
source/core/buffer.cpp
source/core/buffer.h
source/core/bufferable.cpp
source/core/bufferable.h