|
TachyonUI 0.1.0
High-performance UI for building tools.
|
Timeline semaphores the GUI's frame submissions wait on (VulkanGraphicsContext::AddFrameWait). More...
#include <gui_core/graphics/vulkan/vk_device_context.h>
Public Member Functions | |
| void | Add (VkSemaphore semaphore, uint64_t value, VkPipelineStageFlags2 stageMask) |
| Waits for semaphore to reach value before stageMask. | |
| std::span< const VkSemaphoreSubmitInfo > | Waits () const |
| What a submission waits on now. | |
| void | Submitted () |
| A submission waited on all of them. | |
| void | NextFrame () |
| A new frame: those submitted go, those added since stay. | |
| void | Clear () |
| All of them go (the device they were made on is going). | |
Timeline semaphores the GUI's frame submissions wait on (VulkanGraphicsContext::AddFrameWait).
Every submission waits on all of them; the next frame drops those that were submitted.
|
inline |
Waits for semaphore to reach value before stageMask.
Another wait on the same semaphore merges with it: the higher value, both stages. A null semaphore is ignored.
|
inline |
What a submission waits on now.
|
inline |
A submission waited on all of them.
|
inline |
A new frame: those submitted go, those added since stay.
|
inline |
All of them go (the device they were made on is going).