OSDN Git Service

minigbm: cros_gralloc: Use standard error codes
authorTomasz Figa <tfiga@chromium.org>
Fri, 21 Jul 2017 08:54:05 +0000 (17:54 +0900)
committerchrome-bot <chrome-bot@chromium.org>
Tue, 25 Jul 2017 21:04:06 +0000 (14:04 -0700)
commit90bb743c40c4505d98c9de94d060cc795c2eaeaf
tree2dfe9d771614de2c0534332fff407ccd1e02a6ba
parent19643418b4f871b3b31577766953bbfda76d3be4
minigbm: cros_gralloc: Use standard error codes

Since we decided not to support gralloc1 and gralloc0 requires standard
errno-based error codes to be returned to callers, remove the custom
error code enumeration and use standard codes everywhere in
cros_gralloc.

BUG=b:63915090
TEST=Play store starts on Eve

Change-Id: I4f466e8cac6323554f29a7da5c2c00ab47b0abf2
Reviewed-on: https://chromium-review.googlesource.com/580735
Commit-Ready: Tomasz Figa <tfiga@chromium.org>
Tested-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
cros_gralloc/cros_gralloc_buffer.cc
cros_gralloc/cros_gralloc_driver.cc
cros_gralloc/cros_gralloc_types.h
cros_gralloc/gralloc0/gralloc0.cc