class SemaphorePool

Defined at line 20 of file ../../src/ui/lib/escher/impl/semaphore_pool.h

A single-threaded pool for recycling Vulkan semaphores.

Public Methods

void SemaphorePool (vk::Device device, vk::detail::DispatchLoaderDynamic dispatch_loader)

Defined at line 14 of file ../../src/ui/lib/escher/impl/semaphore_pool.cc

void ~SemaphorePool ()

Defined at line 17 of file ../../src/ui/lib/escher/impl/semaphore_pool.cc

SemaphorePtr Allocate ()

Pull a clean, unsignaled semaphore from the pool or lazily create a new one.

Defined at line 33 of file ../../src/ui/lib/escher/impl/semaphore_pool.cc

SemaphorePtr AllocateAndImport (zx::event event_to_import)

Pull a semaphore and immediately import a Zircon event payload.

Defined at line 70 of file ../../src/ui/lib/escher/impl/semaphore_pool.cc

Friends

class Semaphore