diff options
| author | 2018-11-16 18:24:33 -0800 | |
|---|---|---|
| committer | 2018-11-27 11:57:20 -0800 | |
| commit | a5c54bc61ae3c6d301ae9075ae0e76abba4810a2 (patch) | |
| tree | 8630ed3833e5905e68e53556486f3a0bf6aac3c3 /libs/gui/LayerDebugInfo.cpp | |
| parent | 1f7c0e47948127734714cc887356fce13d3c7538 (diff) | |
Add AHardwareBuffer_isSupported.
This new function will check whether a buffer with the given description
is allocatable. If the function returns false, buffer allocation will
never succeed. The current implementation performs a trial allocation
of a small buffer, but in the future this will be replaced by a HAL query.
Bug: 115660272
Test: Builds and passes CTS on Pixel 2.
Change-Id: Id0b1573ebf3194b1163324da773279da95782143
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions