aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_cpu.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-07-07 03:12:21 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-07-07 03:30:22 -0300
commita7192b9512a32d96e3efb9646020d3fba073d918 (patch)
treefcd5009275c24ad92fd72ba94dc0abc20ba39fbe /src/core/core_cpu.cpp
parentfcf404c244e49b65116aba76bed03f8bff254abf (diff)
vk_scheduler: Drop execution context in favor of views
Instead of passing by copy an execution context through out the whole Vulkan call hierarchy, use a command buffer view and fence view approach. This internally dereferences the command buffer or fence forcing the user to be unable to use an outdated version of it on normal usage. It is still possible to keep store an outdated if it is casted to VKFence& or vk::CommandBuffer. While changing this file, add an extra parameter for Flush and Finish to allow releasing the fence from this calls.
Diffstat (limited to 'src/core/core_cpu.cpp')
0 files changed, 0 insertions, 0 deletions