OSDN Git Service

cros_gralloc: Fix PlaneLayout width/height metadata
authorJason Macnak <natsu@google.com>
Tue, 27 Oct 2020 18:58:35 +0000 (11:58 -0700)
committerCommit Bot <commit-bot@chromium.org>
Wed, 28 Oct 2020 14:01:26 +0000 (14:01 +0000)
commit16be5a74aab07f80c3c5bedbfce390aa313e24c6
tree8d10cb8bde2361d544609e7459c240ff330f725d
parentdfb45b0b5ca610e101f773ff23e3c66a02725b0a
cros_gralloc: Fix PlaneLayout width/height metadata

... by using the horizontal/vertical subsampling of
each plane.

BUG=b:171019648
TEST=vts -m VtsHalGraphicsMapperV4_0TargetTest

Change-Id: I3eccfa1c0ac30394314c83b54ca50d690c679724
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2503481
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Jason Macnak <natsu@google.com>
Auto-Submit: Jason Macnak <natsu@google.com>
Commit-Queue: Jason Macnak <natsu@google.com>
cros_gralloc/gralloc4/CrosGralloc4Mapper.cc