diff options
| author | 2021-06-02 16:01:38 -0600 | |
|---|---|---|
| committer | 2021-06-03 01:19:20 +0000 | |
| commit | aa8b7ac832440f95e7c37687946c1ae4f84472b4 (patch) | |
| tree | 729c0541531e7ba01f1e4505754e41b3fb1b81fe /vulkan/libvulkan/api.cpp | |
| parent | f3e492125bf0df905e98a138d972c917d8f028db (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 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions