Any comments? I'm planning to rebase this and try to investigate what is missing from CTS perspective.

On 05/29/2018 10:08 AM, Tapani Pälli wrote:
Hi;

Here's RFC for the extension. I've tested the import/export functionality
with RGBA images on Android Celadon with a custom NDK app that draws a
textured cube using AHardwareBuffer contents. Export feature I tested
by creating just a regular image (LunarG cube texture) and then exporting
that as AHardwareBuffer, modifying buffer and then rendering the
results.

I wanted to send this RFC to get some comments on what's missing and if
I have understood the specification correctly. If supporting only RGBA
for now is fine, I believe we could go forward with these bits.

Any comments appreciated!

Thanks;

// Tapani

Tapani Pälli (6):
   anv: make anv_get_image_format_features public
   anv: add from/to helpers with android and vulkan formats
   anv/android: add GetAndroidHardwareBufferPropertiesANDROID WIP
   anv/android: support import/export of AHardwareBuffer objects
   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     | 228 +++++++++++++++++++++++++++++++++++++
  src/intel/vulkan/anv_device.c      |  48 +++++++-
  src/intel/vulkan/anv_extensions.py |   1 +
  src/intel/vulkan/anv_formats.c     |  22 ++--
  src/intel/vulkan/anv_image.c       | 115 +++++++++++++++++++
  src/intel/vulkan/anv_private.h     |  33 ++++++
  src/intel/vulkan/vk_format_info.h  |  43 +++++++
  7 files changed, 478 insertions(+), 12 deletions(-)

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to