OSDN Git Service

cros_gralloc: Report layerCount > 1 as unsupported
authorJason Macnak <natsu@google.com>
Thu, 10 Dec 2020 19:42:54 +0000 (11:42 -0800)
committerCommit Bot <commit-bot@chromium.org>
Fri, 11 Dec 2020 17:43:50 +0000 (17:43 +0000)
commit07f6209f745a496ab16c0d1e98516933241d1526
treebf9c2360cc7a0fab8f167ad54353d90dd891ffdf
parent8e9c241b8522576b7e6cf10aa787b4e57aa19f8d
cros_gralloc: Report layerCount > 1 as unsupported

... to handle AHardwareBufferNativeTests#MultipleLayers_*
tests.

BUG=b:168577830
BUG=b:172409958
TEST=cts -m CtsNativeHardwareTestCases
Change-Id: I40a55d05011a94057d877e228b4b3587dfc48fcb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2585945
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Jason Macnak <natsu@google.com>
Commit-Queue: Jason Macnak <natsu@google.com>
cros_gralloc/gralloc3/CrosGralloc3Utils.cc
cros_gralloc/gralloc4/CrosGralloc4Utils.cc