Structures

VkImportSemaphoreZirconHandleInfoFUCHSIA

Structure specifying Zircon event handle to import to a semaphore

The VkImportSemaphoreZirconHandleInfoFUCHSIA structure is defined as:

typedef struct VkImportSemaphoreZirconHandleInfoFUCHSIA {
    VkStructureType sType;
    const void* pNext;
    VkSemaphore semaphore;
    VkSemaphoreImportFlags flags;
    VkExternalSemaphoreHandleTypeFlagBits handleType;
    zx_handle_t zirconHandle;
} VkImportSemaphoreZirconHandleInfoFUCHSIA;
  • sType is a VkStructureType value identifying this structure.
  • pNext is NULL or a pointer to a structure extending this structure.
  • semaphore is the semaphore into which the payload will be imported.
  • flags is a bitmask of VkSemaphoreImportFlagBits specifying additional parameters for the semaphore payload import operation.
  • handleType is a VkExternalSemaphoreHandleTypeFlagBits value specifying the type of zirconHandle.
  • zirconHandle is the external handle to import.

The handle types supported by handleType are:

Table 1. Handle Types Supported by VkImportSemaphoreZirconHandleInfoFUCHSIA
Handle TypeTransferencePermanence Supported

VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_ZIRCON_EVENT_BIT_FUCHSIA

Reference

Temporary,Permanent

Host Synchronization

  • Host access to semaphore must be externally synchronized ::