diff options
| author | 2015-04-16 15:39:18 -0700 | |
|---|---|---|
| committer | 2015-04-17 09:28:41 -0700 | |
| commit | 8dddc990103b71137be2a6365a26b1ac36598e68 (patch) | |
| tree | a3e41d09c0483314a10bb676d851778ee2bfbb75 /libs/gui/ConsumerBase.cpp | |
| parent | 2e398e64b3bc827ec8caaa1457442a8b3d546aed (diff) | |
libgui: Change BufferQueue to use free lists
BufferQueue used to choose free buffers by scanning through its array
of slots and picking one based on timestamp. This changes that
mechanism to use a pair of free lists: one with buffers attached and
one without. This makes it easier to choose either type of free slot
depending on the needs of the current operation.
Bug: 13175420
Change-Id: Ic8398e7511bd11a60a1c82e3ad2ee271c9822be1
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions