diff options
author | Jesse Hall <jessehall@google.com> | 2017-03-24 13:16:27 -0700 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2017-03-28 08:22:54 -0700 |
commit | 33eab3a829fee3bc89e435e10ec581d87d68797c (patch) | |
tree | 3a3d0370ad36d21b69b02e74d02665d109249e68 /libutils/RefBase.cpp | |
parent | 94f3ca87767fe84163012638053bf79ce01f693a (diff) |
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
Diffstat (limited to 'libutils/RefBase.cpp')
0 files changed, 0 insertions, 0 deletions