Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Name
VK_FUCHSIA_external_memory - device extension
VK_FUCHSIA_external_memory
- Name String
VK_FUCHSIA_external_memory
- Extension Type
- Device extension
- Registered Extension Number
- 365
- Revision
- 1
- Ratification Status
- Not ratified
- Extension and Version Dependencies
- VK_KHR_external_memory_capabilities and VK_KHR_external_memory
- Contact
Other Extension Metadata
- Last Modified Date
- 2021-03-01
- IP Status
- No known IP claims.
- Contributors
- Craig Stout, Google
- John Bauman, Google
- John Rosasco, Google
Description
Vulkan apps may wish to export or import device memory handles to or from other logical devices, instances or APIs.
This memory sharing can eliminate copies of memory buffers when different subsystems need to interoperate on them. Sharing memory buffers may also facilitate a better distribution of processing workload for more complex memory manipulation pipelines.
New Commands
New Structures
New Enum Constants
FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION
Extending
ExternalMemoryHandleTypeFlagBits
:Extending
StructureType
:
Issues
See VK_KHR_external_memory
issues list for further information.
Version History
Revision 1, 2021-03-01 (John Rosasco)
- Initial draft
See Also
ImportMemoryZirconHandleInfoFUCHSIA
,
MemoryGetZirconHandleInfoFUCHSIA
,
MemoryZirconHandlePropertiesFUCHSIA
, getMemoryZirconHandleFUCHSIA
,
getMemoryZirconHandlePropertiesFUCHSIA
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Synopsis
- getMemoryZirconHandleFUCHSIA :: forall io. MonadIO io => Device -> MemoryGetZirconHandleInfoFUCHSIA -> io ("zirconHandle" ::: Zx_handle_t)
- getMemoryZirconHandlePropertiesFUCHSIA :: forall io. MonadIO io => Device -> ExternalMemoryHandleTypeFlagBits -> ("zirconHandle" ::: Zx_handle_t) -> io MemoryZirconHandlePropertiesFUCHSIA
- data ImportMemoryZirconHandleInfoFUCHSIA = ImportMemoryZirconHandleInfoFUCHSIA {}
- data MemoryZirconHandlePropertiesFUCHSIA = MemoryZirconHandlePropertiesFUCHSIA {}
- data MemoryGetZirconHandleInfoFUCHSIA = MemoryGetZirconHandleInfoFUCHSIA {}
- type FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION = 1
- pattern FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION :: forall a. Integral a => a
- type FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME = "VK_FUCHSIA_external_memory"
- pattern FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
- type Zx_handle_t = Word32
Documentation
getMemoryZirconHandleFUCHSIA Source #
:: forall io. MonadIO io | |
=> Device |
|
-> MemoryGetZirconHandleInfoFUCHSIA |
|
-> io ("zirconHandle" ::: Zx_handle_t) |
vkGetMemoryZirconHandleFUCHSIA - Get a Zircon handle for an external memory object
Return Codes
See Also
VK_FUCHSIA_external_memory,
Device
, MemoryGetZirconHandleInfoFUCHSIA
getMemoryZirconHandlePropertiesFUCHSIA Source #
:: forall io. MonadIO io | |
=> Device |
|
-> ExternalMemoryHandleTypeFlagBits |
|
-> ("zirconHandle" ::: Zx_handle_t) |
|
-> io MemoryZirconHandlePropertiesFUCHSIA |
vkGetMemoryZirconHandlePropertiesFUCHSIA - Get a Zircon handle properties for an external memory object
Return Codes
See Also
VK_FUCHSIA_external_memory,
Device
,
ExternalMemoryHandleTypeFlagBits
,
MemoryZirconHandlePropertiesFUCHSIA
data ImportMemoryZirconHandleInfoFUCHSIA Source #
VkImportMemoryZirconHandleInfoFUCHSIA - Structure specifying import parameters for Zircon handle to external memory
Valid Usage
-
handleType
must beEXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA
Valid Usage (Implicit)
-
sType
must beSTRUCTURE_TYPE_IMPORT_MEMORY_ZIRCON_HANDLE_INFO_FUCHSIA
- If
handleType
is not0
,handleType
must be a validExternalMemoryHandleTypeFlagBits
value
See Also
VK_FUCHSIA_external_memory,
ExternalMemoryHandleTypeFlagBits
,
StructureType
ImportMemoryZirconHandleInfoFUCHSIA | |
|
Instances
data MemoryZirconHandlePropertiesFUCHSIA Source #
VkMemoryZirconHandlePropertiesFUCHSIA - Structure specifying Zircon handle compatible external memory
Valid Usage (Implicit)
See Also
VK_FUCHSIA_external_memory,
StructureType
,
getMemoryZirconHandlePropertiesFUCHSIA
MemoryZirconHandlePropertiesFUCHSIA | |
|
Instances
data MemoryGetZirconHandleInfoFUCHSIA Source #
VkMemoryGetZirconHandleInfoFUCHSIA - Structure specifying export parameters for Zircon handle to device memory
Valid Usage (Implicit)
See Also
VK_FUCHSIA_external_memory,
DeviceMemory
,
ExternalMemoryHandleTypeFlagBits
,
StructureType
,
getMemoryZirconHandleFUCHSIA
MemoryGetZirconHandleInfoFUCHSIA | |
|
Instances
type FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION = 1 Source #
pattern FUCHSIA_EXTERNAL_MEMORY_SPEC_VERSION :: forall a. Integral a => a Source #
type FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME = "VK_FUCHSIA_external_memory" Source #
pattern FUCHSIA_EXTERNAL_MEMORY_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #
type Zx_handle_t = Word32 Source #