gralloc: move codec2 to GraphicBufferAllocator/Mapper

libui's GraphicBufferAllocator/Mapper already wrap the different
gralloc functions and hide the details from the caller. There is no
reason C2AllocatorGralloc needs to directly talk to gralloc.
This patch updates C2AllocatorGralloc to use libui.

Bug: 145139476
Test: Cherry pick ag/9741096 and run
    android.media.cts.MediaMetadataRetrieverTest#testThumbnailVP9Hdr

Change-Id: I41e106ea8faad02b1eb4d20557dda3ecb1aeedec
gugelfrei
Marissa Wall 5 years ago
parent 0de2134374
commit 2a24a30904

@ -50,13 +50,8 @@ cc_library_shared {
],
shared_libs: [
"android.hardware.graphics.allocator@2.0",
"android.hardware.graphics.allocator@3.0",
"android.hardware.graphics.allocator@4.0",
"android.hardware.graphics.bufferqueue@2.0",
"android.hardware.graphics.mapper@2.0",
"android.hardware.graphics.mapper@3.0",
"android.hardware.graphics.mapper@4.0",
"android.hardware.graphics.common@1.2",
"android.hardware.media.bufferpool@2.0",
"libbase",
"libcutils",

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save