Skip to content

anv/android: resolve ANB swapchain images on bind

Juston Li requested to merge justonli/mesa:anv-android-bind-gralloc into main

What does this MR do and why?

This MR fixes importing ANB images backed by gralloc swapchain memory by resolving the format during bind when gralloc info is provided by the platform.

Part of that includes changing how tiling is retrived by refactoring !29185 (merged) to make shared use of the u_gralloc API for tiling queries since get_tiling ioctl isn't on new platforms and limited.

Testing: CTS dEQP-EGL, dEQP-GLES2/3/31 on angle on venus

/cc @zzyiwei @linyaa @phreer

Edited by Juston Li

Merge request reports