Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 33eab3a8 authored by Jesse Hall's avatar Jesse Hall
Browse files

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
parent 94f3ca87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment