vulkan/android: Add missing AHB formats

Signed-off-by: dawnhan <dawnhan@google.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30310>
This commit is contained in:
dawnhan
2024-07-22 15:39:23 -07:00
committed by Marge Bot
parent ceece45b2b
commit 6df5ace3a3
2 changed files with 15 additions and 0 deletions

View File

@@ -158,6 +158,13 @@ enum AHardwareBuffer_Format {
* cube-maps or multi-layered textures.
*/
AHARDWAREBUFFER_FORMAT_Y8Cb8Cr8_420 = 0x23,
/**
* Corresponding formats:
* Vulkan: VK_FORMAT_R8_UNORM
* OpenGL ES: GR_GL_R8
*/
AHARDWAREBUFFER_FORMAT_R8_UNORM = 0x38,
};
/**