vulkan-3.26.1: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Extensions.VK_FUCHSIA_external_memory

Description

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

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

Documentation

getMemoryZirconHandleFUCHSIA Source #

Arguments

:: forall io. MonadIO io 
=> Device

device is the Device.

device must be a valid Device handle

-> MemoryGetZirconHandleInfoFUCHSIA

pGetZirconHandleInfo is a pointer to a MemoryGetZirconHandleInfoFUCHSIA structure.

pGetZirconHandleInfo must be a valid pointer to a valid MemoryGetZirconHandleInfoFUCHSIA structure

-> io ("zirconHandle" ::: Zx_handle_t) 

vkGetMemoryZirconHandleFUCHSIA - Get a Zircon handle for an external memory object

Return Codes

Success
Failure

See Also

VK_FUCHSIA_external_memory, Device, MemoryGetZirconHandleInfoFUCHSIA

getMemoryZirconHandlePropertiesFUCHSIA Source #

Arguments

:: forall io. MonadIO io 
=> Device

device is the Device.

device must be a valid Device handle

-> ExternalMemoryHandleTypeFlagBits

handleType is a ExternalMemoryHandleTypeFlagBits value specifying the type of zirconHandle

handleType must be EXTERNAL_MEMORY_HANDLE_TYPE_ZIRCON_VMO_BIT_FUCHSIA

handleType must be a valid ExternalMemoryHandleTypeFlagBits value

-> ("zirconHandle" ::: Zx_handle_t)

zirconHandle is a zx_handle_t (Zircon) handle to the external resource.

zirconHandle must reference a valid VMO

-> io MemoryZirconHandlePropertiesFUCHSIA 

vkGetMemoryZirconHandlePropertiesFUCHSIA - Get a Zircon handle properties for an external memory object

Return Codes

Success
Failure

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

  • handle must be a valid VMO handle

Valid Usage (Implicit)

See Also

VK_FUCHSIA_external_memory, ExternalMemoryHandleTypeFlagBits, StructureType

Constructors

ImportMemoryZirconHandleInfoFUCHSIA 

Fields

Instances

Instances details
Storable ImportMemoryZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

Show ImportMemoryZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

Eq ImportMemoryZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

FromCStruct ImportMemoryZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

ToCStruct ImportMemoryZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

Zero ImportMemoryZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

data MemoryZirconHandlePropertiesFUCHSIA Source #

VkMemoryZirconHandlePropertiesFUCHSIA - Structure specifying Zircon handle compatible external memory

Valid Usage (Implicit)

See Also

VK_FUCHSIA_external_memory, StructureType, getMemoryZirconHandlePropertiesFUCHSIA

Constructors

MemoryZirconHandlePropertiesFUCHSIA 

Fields

  • memoryTypeBits :: Word32

    memoryTypeBits a bitmask containing one bit set for every memory type which the specified handle can be imported as.

Instances

Instances details
Storable MemoryZirconHandlePropertiesFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

Show MemoryZirconHandlePropertiesFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

Eq MemoryZirconHandlePropertiesFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

FromCStruct MemoryZirconHandlePropertiesFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

ToCStruct MemoryZirconHandlePropertiesFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

Zero MemoryZirconHandlePropertiesFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

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

Constructors

MemoryGetZirconHandleInfoFUCHSIA 

Fields

Instances

Instances details
Storable MemoryGetZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

Show MemoryGetZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

Eq MemoryGetZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

FromCStruct MemoryGetZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

ToCStruct MemoryGetZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

Zero MemoryGetZirconHandleInfoFUCHSIA Source # 
Instance details

Defined in Vulkan.Extensions.VK_FUCHSIA_external_memory

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 #