| commit | bfcf81fd5e77b262dd789011e5f8a9900dbf7d81 | [log] [tgz] |
|---|---|---|
| author | Marissa Wall <marissaw@google.com> | Wed Nov 27 10:36:29 2019 -0800 |
| committer | Marissa Ikonomidis <marissaw@google.com> | Thu Dec 05 22:56:59 2019 +0000 |
| tree | 864de08b1676ed0990f2c2c529ab2dfa3f272f9f | |
| parent | 15375f9262b0574cfd21f5d4983843ee4170dade [diff] |
gralloc: Support allocate buffer without import
Media allocates buffers but doesn't import until they absolutely
need to. In order to support codec2 moving to GraphicBufferAllocator,
add a function that allows them to allocate without import.
Bug: 145139476
Test: VtsHalMediaC2V1_0Host &&
cherry pick ag/9741096 and run
android.media.cts.MediaMetadataRetrieverTest#testThumbnailVP9Hdr
Change-Id: Icbd5943d45f20cb796204f816e5aac446d402979