Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6435b32f authored by Yiwei Zhang's avatar Yiwei Zhang
Browse files

libvulkan: VkSurfaceKHR shouldn't work with must-be-YUV native windows

When the provider of a Surface(the consumer) has set a default format
that Vulkan can't render to, and the consumer usage bits include
USAGE_CPU_*, we should let the user know the specific format asked for
is not supported.

Test: Test on the surface from yuv format ImageReader
Bug: b/77853189
Change-Id: Id243f53b92667c621bbfb731bad37784823ba04f
parent 7dbedde3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment