class Semaphore
Defined at line 31 of file ../../src/ui/lib/escher/renderer/semaphore.h
Public Members
static const uint64_t kInvalidKoid
Public Methods
void Semaphore (vk::Device device, SemaphorePool * pool)
Defined at line 15 of file ../../src/ui/lib/escher/renderer/semaphore.cc
void ~Semaphore ()
Defined at line 35 of file ../../src/ui/lib/escher/renderer/semaphore.cc
SemaphorePtr New (vk::Device device, SemaphorePool * pool)
Convenient.
Defined at line 37 of file ../../src/ui/lib/escher/renderer/semaphore.cc
vk::Semaphore vk_semaphore ()
Defined at line 42 of file ../../src/ui/lib/escher/renderer/semaphore.h
bool is_imported ()
Defined at line 44 of file ../../src/ui/lib/escher/renderer/semaphore.h
uint64_t koid ()
Kernel object ID (`zx_koid_t`) of the imported Zircon event, or `kInvalidKoid`
(`ZX_KOID_INVALID`) if unimported. Read by `CommandBuffer` for wait/signal deduplication,
`SemaphorePool::ReturnSemaphore()` via `is_imported()`, and `VkRenderer::Render()` for trace
flow IDs.
Defined at line 50 of file ../../src/ui/lib/escher/renderer/semaphore.h
Protected Methods
bool OnZeroRefCount ()
Defined at line 41 of file ../../src/ui/lib/escher/renderer/semaphore.cc
Friends
RefPtr Semaphore (VulkanDeviceQueues * device, zx::event event)
class SemaphorePool