diff options
author | Rob Clark <robdclark@chromium.org> | 2024-05-24 14:39:53 -0700 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-05-25 14:52:54 +0000 |
commit | 930e4fa2833a2a53f6017cf87973aac42cd90f75 (patch) | |
tree | fef900f6e85d346c792cfa00affe08dbb4a61707 /src/gallium/drivers/radeon | |
parent | 67a3c812862364f54bcce224236168af9c551c24 (diff) |
Only mapper4 supports u_gralloc_get_buffer_color_info(), other gralloc
implementations do not. So add a fallback, so that we aren't telling
the app that the suggestedYcbcrModel is RGB_IDENTITY. We only go down
this path for YUV formats.
Fixes android.graphics.cts.BasicVulkanGpuTest#testBasicBufferImportAndRenderingExternalFormat
Fixes: 8732a619f13b ("vulkan/android: Add common vkGetAndroidHardwareBufferPropertiesANDROID")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Roman Stratiienko <r.stratiienko@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29391>
Diffstat (limited to 'src/gallium/drivers/radeon')
0 files changed, 0 insertions, 0 deletions