Android devices may fully or partially support Vulkan extensions that provide additional functionality.
To determine if a Vulkan extension is available on a particular target device, use the Vulkan
extension enumeration functions (vkEnumerateInstanceExtensionProperties()
and
vkEnumerateDeviceExtensionProperties()
) as described in the
Vulkan specification.
To see an example, you can refer to this
code sample
in the Vulkan samples repo.
The following table summarizes the list of Vulkan extensions that Android supports, the minimum OS version for the extension support, and the extension type.
OS Version | Vulkan Extension | Extension Type |
---|---|---|
Android 8.0 (API level 26) | VK_KHR_incremental_present |
Device |
VK_KHR_shared_presentable_image |
Device | |
VK_KHR_get_surface_capabilities2 |
Instance | |
VK_EXT_hdr_metadata |
Device | |
VK_EXT_swapchain_colorspace |
Instance | |
VK_GOOGLE_display_timing |
Device | |
Android 7.0 (API level 24) | VK_KHR_android_surface |
Instance |
VK_KHR_surface |
Instance | |