Class ANDROIDExternalMemoryAndroidHardwareBuffer

java.lang.Object
org.lwjgl.vulkan.ANDROIDExternalMemoryAndroidHardwareBuffer

public class ANDROIDExternalMemoryAndroidHardwareBuffer extends Object
This extension enables an application to import Android AHardwareBuffer objects created outside of the Vulkan device into Vulkan memory objects, where they can be bound to images and buffers. It also allows exporting an AHardwareBuffer from a Vulkan memory object for symmetry with other operating systems. But since not all AHardwareBuffer usages and formats have Vulkan equivalents, exporting from Vulkan provides strictly less functionality than creating the AHardwareBuffer externally and importing it.

Some AHardwareBuffer images have implementation-defined external formats that may not correspond to Vulkan formats. Sampler Y′CBCR conversion can be used to sample from these images and convert them to a known color space.

Name String
VK_ANDROID_external_memory_android_hardware_buffer
Extension Type
Device extension
Registered Extension Number
130
Revision
5
Extension and Version Dependencies
VK_KHR_sampler_ycbcr_conversion and VK_KHR_external_memory and VK_KHR_dedicated_allocation or Version 1.1 and VK_EXT_queue_family_foreign
API Interactions
  • Interacts with VK_VERSION_1_3
  • Interacts with VK_KHR_format_feature_flags2
Contact
Other Extension Metadata
Last Modified Date
2021-09-30
IP Status
No known IP claims.
Contributors
  • Ray Smith, ARM
  • Lina Versace, Google
  • Jesse Hall, Google
  • Tobias Hector, Imagination
  • James Jones, NVIDIA
  • Tony Zlatinski, NVIDIA
  • Matthew Netsch, Qualcomm
  • Andrew Garrard, Samsung