Skip to content
Snippets Groups Projects
Commit 7791a051 authored by Chih-Yu Huang's avatar Chih-Yu Huang
Browse files

C2VdaBqBlockPool: Use GEM handle as the identifier of graphic buffers.

Originally we assume the buffers at BufferQueue are not moved to
different slot. Then we could track the buffers by the slot index.
However, MediaSync implementation detach buffers and attach back to
BufferQueue. The slot index might be changed.

This CL changes to use GEM handle as the identifier of graphic
buffers. Because all the graphic buffers are allocated by gralloc, we
could get the GEM handle by DRM. V4L2GraphicAllocator is not used
anymore.

Bug: 177484971
Test: android.media.cts.AdaptivePlaybackTest

Change-Id: I6b7f3f9a6c1d6b97d0e44aa2a19bc71ad3bab880
parent d54b5a54
No related branches found
No related tags found
Loading
Showing
with 232 additions and 362 deletions
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