media/codec2/vndk/C2DmaBufAllocator.cpp
0 → 100644
+401
−0
+112
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Initial step to transition to libdmabufheap from ion.
This adds a C2AlllocatorBuf implementation which handles the
logic between allocating from DMABUF Heaps.
Also, to address the lack of !ION_FLAG_CACHED support in
the DMABUF Heaps (currently), in order to try to support
it for the ION fallback, I hope to use a "system-uncached"
heap (to be upstreamed into the kernel hopefully soon).
Signed-off-by:
John Stultz <john.stultz@linaro.org>
Change-Id: I09ef198355140c28b50cc17b8a7acc54310e46fb