diff options
| author | 2018-05-08 11:12:17 -0700 | |
|---|---|---|
| committer | 2018-05-08 22:08:01 +0000 | |
| commit | 6435b32fbf30883b84f35f96a7325c8b3413c7a7 (patch) | |
| tree | 39400ad288fdd68bee6d6b34425f11fe33157078 /libs/gui/ConsumerBase.cpp | |
| parent | 7dbedde3d351d4a0e29689960923bea25d0b59ee (diff) | |
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
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions