#include <fence_waiter_vk.h>
Definition at line 23 of file fence_waiter_vk.h.
◆ ~FenceWaiterVK()
impeller::FenceWaiterVK::~FenceWaiterVK |
( |
| ) |
|
◆ AddFence()
bool impeller::FenceWaiterVK::AddFence |
( |
vk::UniqueFence |
fence, |
|
|
const fml::closure & |
callback |
|
) |
| |
Definition at line 65 of file fence_waiter_vk.cc.
66 {
68 return false;
69 }
70 {
71
72 std::scoped_lock lock(wait_set_mutex_);
73 if (terminate_) {
74 return false;
75 }
77 }
78 wait_set_cv_.notify_one();
79 return true;
80}
static std::shared_ptr< WaitSetEntry > Create(vk::UniqueFence p_fence, const fml::closure &p_callback)
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
◆ IsValid()
bool impeller::FenceWaiterVK::IsValid |
( |
| ) |
const |
◆ Terminate()
void impeller::FenceWaiterVK::Terminate |
( |
| ) |
|
Definition at line 207 of file fence_waiter_vk.cc.
207 {
208 {
209 std::scoped_lock lock(wait_set_mutex_);
210 terminate_ = true;
211 }
212 wait_set_cv_.notify_one();
213}
◆ ContextVK
The documentation for this class was generated from the following files: