commit | a5a719e97cbec30c8968dddf542d86788e1051a4 | [log] [tgz] |
---|---|---|
author | Craig Donner <cdonner@google.com> | Fri Feb 24 16:02:08 2017 -0800 |
committer | Craig Donner <cdonner@google.com> | Mon Feb 27 13:48:49 2017 -0800 |
tree | 0ce7b93ddb34f89c5db03fbccbf1add6cdda86f5 | |
parent | ff192d371df0c239a973e2bd42d88aac32c9b7e3 [diff] |
Add private consumer and producer flags to AHardwareBuffer. This also generalizes and simplifies the flag conversion, making it more bulletproof in the future. To add more flags, just add new entries into the mapping arrays. Bug: 34050596 Bug: 35765937 Test: cts-tradefed run cts -m CtsNativeHardwareTestCases Also added new cc_test libs/nativewindow/tests to test gralloc flag conversion Change-Id: Ib96b277e837f2ab8c332f14df60e88580e3d868d