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

Vulkan.Extensions.VK_ANDROID_external_format_resolve

Description

Name

VK_ANDROID_external_format_resolve - device extension

VK_ANDROID_external_format_resolve

Name String
VK_ANDROID_external_format_resolve
Extension Type
Device extension
Registered Extension Number
469
Revision
1
Ratification Status
Not ratified
Extension and Version Dependencies
VK_ANDROID_external_memory_android_hardware_buffer
Special Use
Contact
Extension Proposal
VK_ANDROID_external_format_resolve

Other Extension Metadata

Last Modified Date
2023-05-03
IP Status
No known IP claims.
Contributors
  • Tobias Hector, AMD
  • Chris Forbes, Google
  • Jan-Harald Fredriksen, Arm
  • Shahbaz Youssefi, Google
  • Matthew Netsch, Qualcomm
  • Tony Zlatsinki, Nvidia
  • Daniel Koch, Nvidia
  • Jeff Leger, Qualcomm
  • Alex Walters, Imagination
  • Andrew Garrard, Imagination
  • Ralph Potter, Samsung
  • Ian Elliott, Google

Description

This extension enables rendering to Android Hardware Buffers with external formats which cannot be directly represented as renderable in Vulkan, including Y′CBCR formats.

New Structures

New Enum Constants

If VK_KHR_dynamic_rendering is supported:

Version History

  • Revision 1, 2023-05-34 (Tobias Hector)

    • Initial version

See Also

AndroidHardwareBufferFormatResolvePropertiesANDROID, PhysicalDeviceExternalFormatResolveFeaturesANDROID, PhysicalDeviceExternalFormatResolvePropertiesANDROID

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

data PhysicalDeviceExternalFormatResolveFeaturesANDROID Source #

VkPhysicalDeviceExternalFormatResolveFeaturesANDROID - Structure describing whether external format resolves are supported

Description

If the PhysicalDeviceExternalFormatResolveFeaturesANDROID structure is included in the pNext chain of the PhysicalDeviceFeatures2 structure passed to getPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. PhysicalDeviceExternalFormatResolveFeaturesANDROID can also be used in the pNext chain of DeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

See Also

VK_ANDROID_external_format_resolve, Bool32, StructureType

Constructors

PhysicalDeviceExternalFormatResolveFeaturesANDROID 

Fields

Instances

Instances details
Storable PhysicalDeviceExternalFormatResolveFeaturesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

Show PhysicalDeviceExternalFormatResolveFeaturesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

Eq PhysicalDeviceExternalFormatResolveFeaturesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

FromCStruct PhysicalDeviceExternalFormatResolveFeaturesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

ToCStruct PhysicalDeviceExternalFormatResolveFeaturesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

Zero PhysicalDeviceExternalFormatResolveFeaturesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

data PhysicalDeviceExternalFormatResolvePropertiesANDROID Source #

VkPhysicalDeviceExternalFormatResolvePropertiesANDROID - Structure describing external format resolve supported by an implementation

Description

If the PhysicalDeviceExternalFormatResolvePropertiesANDROID structure is included in the pNext chain of the PhysicalDeviceProperties2 structure passed to getPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

Valid Usage (Implicit)

See Also

VK_ANDROID_external_format_resolve, Bool32, ChromaLocation, StructureType

Constructors

PhysicalDeviceExternalFormatResolvePropertiesANDROID 

Fields

  • nullColorAttachmentWithExternalFormatResolve :: Bool

    nullColorAttachmentWithExternalFormatResolve indicates that there must be no color attachment image when performing external format resolves if it is TRUE.

  • externalFormatResolveChromaOffsetX :: ChromaLocation

    externalFormatResolveChromaOffsetX indicates the ChromaLocation that an implementation uses in the X axis for accesses to an external format image as a resolve attachment. This must be consistent between external format resolves and load operations from external format resolve attachments to color attachments when nullColorAttachmentWithExternalFormatResolve is TRUE.

  • externalFormatResolveChromaOffsetY :: ChromaLocation

    externalFormatResolveChromaOffsetY indicates the ChromaLocation that an implementation uses in the Y axis for accesses to an external format image as a resolve attachment. This must be consistent between external format resolves and load operations from external format resolve attachments to color attachments when nullColorAttachmentWithExternalFormatResolve is TRUE.

Instances

Instances details
Storable PhysicalDeviceExternalFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

Show PhysicalDeviceExternalFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

Eq PhysicalDeviceExternalFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

FromCStruct PhysicalDeviceExternalFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

ToCStruct PhysicalDeviceExternalFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

Zero PhysicalDeviceExternalFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

data AndroidHardwareBufferFormatResolvePropertiesANDROID Source #

VkAndroidHardwareBufferFormatResolvePropertiesANDROID - Structure defining properties of resolves using an external format

Description

Any Android hardware buffer created with the GRALLOC_USAGE_HW_RENDER flag must be renderable in some way in Vulkan, either:

Valid Usage (Implicit)

See Also

VK_ANDROID_external_format_resolve, Format, StructureType

Constructors

AndroidHardwareBufferFormatResolvePropertiesANDROID 

Fields

Instances

Instances details
Storable AndroidHardwareBufferFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

Show AndroidHardwareBufferFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

Eq AndroidHardwareBufferFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

FromCStruct AndroidHardwareBufferFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

ToCStruct AndroidHardwareBufferFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

Zero AndroidHardwareBufferFormatResolvePropertiesANDROID Source # 
Instance details

Defined in Vulkan.Extensions.VK_ANDROID_external_format_resolve

type ANDROID_EXTERNAL_FORMAT_RESOLVE_EXTENSION_NAME = "VK_ANDROID_external_format_resolve" Source #