commit | 9b82e33c61d2d1a4b71f401f6c131c141b9933cf | [log] [tgz] |
---|---|---|
author | Lingfeng Yang <[email protected]> | Wed Feb 13 17:53:57 2019 -0800 |
committer | Lingfeng Yang <[email protected]> | Wed Feb 13 20:42:55 2019 -0800 |
tree | b18cc61d61f4e35c53cc1096f8a65f457958426e | |
parent | 29cf0750b408572dcc032b9378dfd934304d6ff5 [diff] |
[vulkan] Add AHB support functions bug: 122080810 This CL adds support functions for use with AHardwareBuffer for getting buffer info and acquiring/importing/creating buffers. This is inspired by / based on Intel ANV https://github.com/mesa3d/mesa/blob/master/src/intel/vulkan/anv_android.c which has a similar layering between implementation-specific Vulkan and AHardwareBuffer. No new entry points are exposed yet. Test: Builds Change-Id: Ieb5bfcb8b65b87650cd4a2658668efac99f9105c