mesa/src/intel
Chris Spencer 6a4e9b55e4 anv: Don't reject Android image format if external props not supplied
anv_GetPhysicalDeviceImageFormatProperties2 returns 'not supported' if an
Android hardware buffer external memory handle type is specified, but no
external image format properties output struct is supplied. This struct is
optional, so we should populate it if present, but return successfully
either way.

This fixes an error when using ANV with hwui, which otherwise prevents the
system from booting.[1]

[1] https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/libs/hwui/renderthread/VulkanSurface.cpp;l=271;drc=ad3fb95aa2fe0be59d3e991ddc883592ab5542bc

Signed-off-by: Chris Spencer <spencercw@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24844>
2023-08-24 10:26:09 +00:00
..
blorp blorp: Drop unnecessary assertions in blorp_can_hiz_clear_depth 2023-08-23 00:35:07 +00:00
ci ci/deqp: backport fix for dEQP-EGL.functional.wide_color.*_888_colorspace_* 2023-08-22 18:12:08 +00:00
common intel/decoder: Fix memory leak on error path 2023-08-14 23:42:58 -07:00
compiler intel/brw: use 4 instead of MAX_VERTEX_STREAMS to avoid #include "mesa/main/config.h" 2023-08-24 02:54:08 +00:00
dev intel: Add env variable to add break point on/before draw 2023-08-08 17:36:19 +00:00
ds intel/compiler,intel/blorp,intel/vulkan: decouple vulkan driver and compiler from gallium 2023-08-03 22:00:15 +00:00
genxml intel/genxml: Update xml with gen_sort_tags.py output 2023-08-14 23:09:36 +00:00
isl intel/isl: Don't over-allocate CLEAR_COLOR size to use whole cache line 2023-08-23 12:55:08 +00:00
nullhw-layer vulkan/layers: Use PUBLIC instead of VK_LAYER_EXPORT 2023-02-17 03:42:34 +00:00
perf intel: Move i915_drm.h specific code from common/intel_gem.h to common/i915/intel_gem.h 2023-07-28 15:36:52 +00:00
tools intel/compiler,intel/blorp,intel/vulkan: decouple vulkan driver and compiler from gallium 2023-08-03 22:00:15 +00:00
vulkan anv: Don't reject Android image format if external props not supplied 2023-08-24 10:26:09 +00:00
vulkan_hasvk nir: Drop most uses if nir_instr_rewrite_src() 2023-08-18 01:00:15 +00:00
meson.build blorp: add dependency on idep_intel_dev 2023-03-03 13:04:23 +00:00