Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT :: ExternalSemaphoreHandleTypeFlagBits
- type ExternalSemaphoreHandleTypeFlags = ExternalSemaphoreHandleTypeFlagBits
- newtype ExternalSemaphoreHandleTypeFlagBits where
- ExternalSemaphoreHandleTypeFlagBits Flags
- pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT :: ExternalSemaphoreHandleTypeFlagBits
- pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT :: ExternalSemaphoreHandleTypeFlagBits
- pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT :: ExternalSemaphoreHandleTypeFlagBits
- pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT :: ExternalSemaphoreHandleTypeFlagBits
- pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT :: ExternalSemaphoreHandleTypeFlagBits
Documentation
pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE_BIT :: ExternalSemaphoreHandleTypeFlagBits Source #
newtype ExternalSemaphoreHandleTypeFlagBits Source #
VkExternalSemaphoreHandleTypeFlagBits - Bitmask of valid external semaphore handle types
Description
Note
Handles of type EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT
generated
by the implementation may represent either Linux Sync Files or Android
Fences at the implementation’s discretion. Applications should only
use operations defined for both types of file descriptors, unless they
know via means external to Vulkan the type of the file descriptor, or
are prepared to deal with the system-defined operation failures
resulting from using the wrong type.
Some external semaphore handle types can only be shared within the same underlying physical device and/or the same driver version, as defined in the following table:
Handle type | PhysicalDeviceIDProperties ::driverUUID | PhysicalDeviceIDProperties ::deviceUUID |
EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT | Must match | Must match |
EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT | Must match | Must match |
EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT | Must match | Must match |
EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT | Must match | Must match |
EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT | No restriction | No restriction |
External semaphore handle types compatibility
See Also
ExternalSemaphoreHandleTypeFlags
,
ImportSemaphoreFdInfoKHR
,
ImportSemaphoreWin32HandleInfoKHR
,
PhysicalDeviceExternalSemaphoreInfo
,
SemaphoreGetFdInfoKHR
,
SemaphoreGetWin32HandleInfoKHR
pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT :: ExternalSemaphoreHandleTypeFlagBits |
|
pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT :: ExternalSemaphoreHandleTypeFlagBits |
|
pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT :: ExternalSemaphoreHandleTypeFlagBits |
|
pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT :: ExternalSemaphoreHandleTypeFlagBits |
|
pattern EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT :: ExternalSemaphoreHandleTypeFlagBits |
|