class PlatformEvent

Defined at line 13 of file ../../src/lib/vulkan/swapchain/platform_event.h

Public Methods

void ~PlatformEvent ()

Defined at line 15 of file ../../src/lib/vulkan/swapchain/platform_event.h

std::unique_ptr<PlatformEvent> Create (VkDevice device, VkLayerDispatchTable * dispatch_table, bool signaled)

Defined at line 59 of file ../../src/lib/vulkan/swapchain/fuchsia_platform_event.cc

VkResult ImportToSemaphore (VkDevice device, VkLayerDispatchTable * dispatch_table, VkSemaphore & semaphore_out)

Transfers ownership into the given semaphore

std::unique_ptr<PlatformEvent> Duplicate (VkDevice device, VkLayerDispatchTable * dispatch_table)
void PlatformEvent (PlatformEvent & )

Move-only

Defined at line 33 of file ../../src/lib/vulkan/swapchain/platform_event.h

WaitResult Wait (VkDevice device, VkLayerDispatchTable * dispatch_table, uint64_t timeout_ns)
PlatformEvent & operator= (PlatformEvent & )

Defined at line 34 of file ../../src/lib/vulkan/swapchain/platform_event.h

Protected Methods

void PlatformEvent ()

Defined at line 37 of file ../../src/lib/vulkan/swapchain/platform_event.h

Enumerations

enum WaitResult
Name Value
Ok 0
TimedOut 1
Error 2

Defined at line 27 of file ../../src/lib/vulkan/swapchain/platform_event.h