summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2024-05-24 14:39:53 -0700
committerMarge Bot <emma+marge@anholt.net>2024-05-25 14:52:54 +0000
commit930e4fa2833a2a53f6017cf87973aac42cd90f75 (patch)
treefef900f6e85d346c792cfa00affe08dbb4a61707 /src/gallium/drivers/radeon
parent67a3c812862364f54bcce224236168af9c551c24 (diff)
vulkan/android: Fix suggestedYcbcrModel with !mapper4HEADmain
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