aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-02-14 12:57:56 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-02-14 18:44:26 -0300
commitd135b3e43b363c62299e393b727b07f960cfca55 (patch)
tree3381c9c0407e53b98292b785e3c34d65031e58aa /src/core/memory.cpp
parent87b7e95181b974c4e5a77923edf98c428316f5cb (diff)
vk_resource_manager: Implement VKFence
Fences take ownership of objects, protecting them from GPU-side or driver-side concurrent access. They must be commited from the resource manager. Their usage flow is: commit the fence from the resource manager, protect resources with it and use them, send the fence to an execution queue and Wait for it if needed and then call Release. Used resources will automatically be signaled when they are free to be reused.
Diffstat (limited to 'src/core/memory.cpp')
0 files changed, 0 insertions, 0 deletions