OSDN Git Service

cros_gralloc: Use entire graphics buffer if all-zeros access region is specified
authorMatthias Springer <springerm@google.com>
Mon, 3 Feb 2020 07:40:09 +0000 (16:40 +0900)
committerCommit Bot <commit-bot@chromium.org>
Fri, 14 Feb 2020 10:39:40 +0000 (10:39 +0000)
commit12d007879874704b0af8de606363503017ca1335
tree3fe5314a8093400abf413afd146b5c495bf1ac8c
parentd441f4ec3366202ccf35d0bb8d6b0c246cc2d5e9
cros_gralloc: Use entire graphics buffer if all-zeros access region is specified

This is a requirement of gralloc and the graphics.mapper HAL in Android.

BUG=b:143924619
TEST=Photo capture in GCA succeeds and most camera CTS tests pass

Change-Id: Ic34a49aa7175c1c3b9f6c0738b5ab848e002b93d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2035207
Tested-by: Matthias Springer <springerm@chromium.org>
Commit-Queue: Matthias Springer <springerm@chromium.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: David Stevens <stevensd@chromium.org>
Auto-Submit: Matthias Springer <springerm@chromium.org>
cros_gralloc/cros_gralloc_buffer.cc