mesa/src/intel
Lionel Landwerlin 19b7bbba73 anv/android: handle image bindings from gralloc buffers
When creating an image out of a swapchain on Android, the android
layer call will detect a VkBindImageMemorySwapchainInfoKHR in the
pNext chain of the vkBindImageMemory2() call and add a
VkNativeBufferANDROID in the chain. This is what we should use as
backing memory for that image.

v2: Fix a couple of obvious mistakes (Tapani)

v3: Silence build warning (Lionel)
    Fix invalid object argument to vk_error() (Lionel)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: bc3c71b87a ("anv: don't try to access Android swapchains")
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5180
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12244>
2021-08-13 08:30:25 +00:00
..
blorp intel/blorp: Use nir_texop_txl 2021-07-23 15:53:57 +00:00
common meson/intel: Don't build genxml tests on Android 2021-08-11 23:57:52 +00:00
compiler intel/vec4: Don't override emit_urb_write_opcode for SNB GS 2021-08-11 23:57:52 +00:00
dev intel/dev: Use intel_i915_query_alloc in query_topology 2021-07-16 14:19:20 +00:00
ds pps: fix a missing include in Intel pps driver 2021-05-21 22:03:16 +00:00
genxml intel/genxml: fix raster operation field in blt genxml 2021-08-03 05:38:25 +10:00
isl isl: Use CLAMP macro instead of MIN of MAX 2021-08-03 12:55:11 -07:00
nullhw-layer intel/nullhw: fix build 2021-03-26 20:12:40 +00:00
perf intel/perf: Use a char array for OA perf query data 2021-08-11 23:57:52 +00:00
tools intel/tools/aubinator_error_decode: tag hanging instruction 2021-07-21 08:20:06 +00:00
vulkan anv/android: handle image bindings from gralloc buffers 2021-08-13 08:30:25 +00:00
Makefile.perf.am intel: Rename GEN_PERF prefix to INTEL_PERF in build files 2021-04-20 20:06:34 +00:00
meson.build pps: Intel pps driver 2021-05-18 14:28:48 +00:00