[Mesa-dev] [PATCH 00/15] VK_ANDROID_external_memory_android_hardware_buffer

Tapani Pälli tapani.palli at intel.com
Tue Dec 11 07:50:48 UTC 2018


ping!

On 11/27/18 12:53 PM, Tapani Pälli wrote:
> Hi;
> 
> Series was rebased and fixes applied from review, also some changes
> applied to support HAL_PIXEL_FORMAT_NV12_Y_TILED_INTEL. With these
> changes android.graphics.cts.MediaVulkanGpuTest starts to pass, now
> all tests utilizing AHardwareBuffer pass (CTS + SkQP) \o/
> 
> tree:
> https://cgit.freedesktop.org/~tpalli/mesa/log/?h=ahw
> 
> android tree used in testing:
> https://github.com/tpalli/external-mesa/tree/ahw-android
> 
> CI was happy:
> https://mesa-ci.01.org/tpalli/builds/642/group/63a9f0ea7bb98050796b649e85481845
> 
> Tapani Pälli (15):
>    anv: add create_flags as part of anv_image
>    anv: refactor make_surface to use data from anv_image
>    anv: make anv_get_image_format_features public
>    anv: add from/to helpers with android and vulkan formats
>    anv/android: add GetAndroidHardwareBufferPropertiesANDROID
>    anv: add anv_ahw_usage_from_vk_usage helper function
>    anv: refactor, remove else block in AllocateMemory
>    anv/android: support import/export of AHardwareBuffer objects
>    anv/android: add ahardwarebuffer external memory properties
>    anv/android: support creating images from external format
>    anv: support VkExternalFormatANDROID in vkCreateSamplerYcbcrConversion
>    anv: add VkFormat field as part of anv_format
>    anv: support VkSamplerYcbcrConversionInfo in vkCreateImageView
>    anv: ignore VkSamplerYcbcrConversion on non-yuv formats
>    anv/android: turn on
>      VK_ANDROID_external_memory_android_hardware_buffer
> 
>   src/intel/vulkan/anv_android.c       | 296 +++++++++++++++++++++++++++
>   src/intel/vulkan/anv_android.h       |  20 ++
>   src/intel/vulkan/anv_android_stubs.c |  33 +++
>   src/intel/vulkan/anv_device.c        | 107 +++++++---
>   src/intel/vulkan/anv_extensions.py   |   1 +
>   src/intel/vulkan/anv_formats.c       |  80 +++++++-
>   src/intel/vulkan/anv_image.c         | 200 ++++++++++++++----
>   src/intel/vulkan/anv_private.h       |  21 ++
>   src/intel/vulkan/genX_state.c        |   7 +-
>   src/intel/vulkan/vk_format_info.h    |  50 +++++
>   10 files changed, 731 insertions(+), 84 deletions(-)
> 


More information about the mesa-dev mailing list