| commit | 2a24a30904821360ed9116ff2fde598ed6c3bc6f | [log] [tgz] |
|---|---|---|
| author | Marissa Wall <marissaw@google.com> | Mon Nov 25 11:19:18 2019 -0800 |
| committer | Marissa Wall <marissaw@google.com> | Fri Nov 29 12:22:48 2019 -0800 |
| tree | 25869b96323d67dddbb507691857331abfa788d4 | |
| parent | 0de2134374b4495c1e474c2549cb1c7dade485e1 [diff] |
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