3a11413a2584cf9a51e4315bef27546f602578fb |
|
09-Jun-2017 |
Mathias Agopian <mathias@google.com> |
Add missing VNDK pixel formats to AHardwareBuffer AHardwareBuffer is now the only API available to vendors to create graphic buffers in their HAL implementations, unfortunately AHardwareBuffer was designed for NDK use and was missing all HAL specific pixel formats. This CL adds these missing format to the VNDK-only header. The implementation is changed to accept all formats which means, VNDK formats are indirectly exposed to the NDK. Bug: 38466076 Test: manual Change-Id: I1e752cd33641aa861d9d15432cde6bec5a682e9a
/frameworks/native/libs/nativewindow/include/vndk/hardware_buffer.h
|