commit | 8dddc990103b71137be2a6365a26b1ac36598e68 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Thu Apr 16 15:39:18 2015 -0700 |
committer | Dan Stoza <stoza@google.com> | Fri Apr 17 09:28:41 2015 -0700 |
tree | a3e41d09c0483314a10bb676d851778ee2bfbb75 | |
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