radv/android: Use buffer metadata to determine scanout compat.
authorBas Nieuwenhuizen <basni@chromium.org>
Mon, 26 Nov 2018 15:26:36 +0000 (16:26 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 4 Dec 2018 00:21:38 +0000 (01:21 +0100)
commit3bf48741e128b60f6430b32cc47197f62075b1e9
tree982b7486f44926a48a04f52442899beb21ec1dcd
parent51091b3e1f212be956f91ac5214191c14e83ac59
radv/android: Use buffer metadata to determine scanout compat.

These days we don't always allocate scanout compatible textures anymore.
That does mean we have to fix the radv android WSI though.

Fixes: b1444c9ccb0 "radv: Implement VK_ANDROID_native_buffer."
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_android.c
src/amd/vulkan/radv_radeon_winsys.h
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c