venus: implement VK_ANDROID_native_buffer v7

Graphics / Mesa 3D Graphics Library / Mesa - Yiwei Zhang [chromium.org] - 27 April 2021 00:15 UTC

1. Android native buffer import 2. vkGetSwapchainGrallocUsage2ANDROID 3. vkAcquireImageANDROID 4. vkQueueSignalReleaseImageANDROID 5. not advertise shared presentable image support

34f37fb780e venus: implement VK_ANDROID_native_buffer v7
src/virtio/vulkan/meson.build | 2 +
src/virtio/vulkan/vn_android.c | 261 +++++++++++++++++++++++++++++++++++++++++
src/virtio/vulkan/vn_android.h | 30 +++++
src/virtio/vulkan/vn_device.c | 64 +++++++---
src/virtio/vulkan/vn_image.c | 13 ++
src/virtio/vulkan/vn_image.h | 2 +
6 files changed, 354 insertions(+), 18 deletions(-)

Upstream: cgit.freedesktop.org


  • Share