summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2015-04-16 15:39:18 -0700
committer Dan Stoza <stoza@google.com> 2015-04-17 09:28:41 -0700
commit8dddc990103b71137be2a6365a26b1ac36598e68 (patch)
treea3e41d09c0483314a10bb676d851778ee2bfbb75 /libs/gui/ConsumerBase.cpp
parent2e398e64b3bc827ec8caaa1457442a8b3d546aed (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