[Mesa-dev] [PATCH 0/8] VK_ANDROID_external_memory_android_hardware_buffer
Tapani Pälli
tapani.palli at intel.com
Tue Aug 21 08:26:57 UTC 2018
Hi;
I finally got dEQP happy with this so not RFC anymore but I consider
this ready for proper review. It was mainly lacking proper handling
of usage flags in vkGetPhysicalDeviceImageFormatProperties2 and when
creating exportable memory in vkAllocateMemory.
Any comments appreciated!
// Tapani
Tapani Pälli (8):
anv: make anv_get_image_format_features public
anv: add from/to helpers with android and vulkan formats
anv/android: add GetAndroidHardwareBufferPropertiesANDROID
anv: add create_flags as part of anv_image
anv/android: support import/export of AHardwareBuffer objects
anv/android: add ahardwarebuffer external memory properties
anv/android: support creating images from external format
anv/android: turn on
VK_ANDROID_external_memory_android_hardware_buffer
src/intel/vulkan/anv_android.c | 288 +++++++++++++++++++++++++++++++++++++
src/intel/vulkan/anv_device.c | 48 ++++++-
src/intel/vulkan/anv_extensions.py | 1 +
src/intel/vulkan/anv_formats.c | 93 ++++++++++--
src/intel/vulkan/anv_image.c | 116 +++++++++++++++
src/intel/vulkan/anv_private.h | 34 +++++
src/intel/vulkan/vk_format_info.h | 43 ++++++
7 files changed, 609 insertions(+), 14 deletions(-)
--
2.14.4
More information about the mesa-dev
mailing list