summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Tim Van Patten <timvp@google.com> 2021-06-02 16:01:38 -0600
committer Tim Van Patten <timvp@google.com> 2021-06-03 01:19:20 +0000
commitaa8b7ac832440f95e7c37687946c1ae4f84472b4 (patch)
tree729c0541531e7ba01f1e4505754e41b3fb1b81fe /libs/gui/LayerDebugInfo.cpp
parentf3e492125bf0df905e98a138d972c917d8f028db (diff)
Return error code directly in allocateHelper()
libs/ui/GraphicBufferAllocator falsely maps error != NO_ERROR to NO_MEMORY upon allocation failure. However, from the driver implementation point of view, we need to distinguish unsupported v.s. oom, which is quite natural if the error code is returned directly. Bug: b/189221081 Test: Presubmit Change-Id: I75ce2d0d4c723c0d58ba8c27b9b68404be424ac8
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions