anv/android: add ahardwarebuffer external memory properties
authorTapani Pälli <tapani.palli@intel.com>
Fri, 17 Aug 2018 08:52:10 +0000 (11:52 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 19 Dec 2018 07:38:41 +0000 (09:38 +0200)
commit517103abf1c2ba6c540ae4f5fb1d10874e5568f6
treee22b972295bc9676feb1e74486e965780ad2f804
parentc79a528d2b58dfa6f3d856271cbf29697a5322a1
anv/android: add ahardwarebuffer external memory properties

v2: have separate memory properties for android, set usage
    flags for buffers correctly

v3: code cleanup (Jason)
    + limit maxArrayLayers to 1 for AHardwareBuffer based images

v4: rebase to b43f955037c changes

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_formats.c