platform_system_core/libgrallocusage
Jesse Hall 33eab3a829 Add gralloc usage conversion functions
Converting gralloc1 / ..graphics.allocator@2.0 usage to gralloc0 usage
requires more than just ORing bits and truncating: the CPU_READ_OFTEN
bits don't match up correctly. Add utility functions for converting
back and forth which handle this properly.

Test: boot bullhead-eng
Change-Id: I1cee972feaea486d5607c60acead2e870c2c9549
2017-03-28 08:22:54 -07:00
..
include/grallocusage Add gralloc usage conversion functions 2017-03-28 08:22:54 -07:00
Android.bp Add gralloc usage conversion functions 2017-03-28 08:22:54 -07:00
GrallocUsageConversion.cpp Add gralloc usage conversion functions 2017-03-28 08:22:54 -07:00
MODULE_LICENSE_APACHE2 Add gralloc usage conversion functions 2017-03-28 08:22:54 -07:00
NOTICE Add gralloc usage conversion functions 2017-03-28 08:22:54 -07:00