replicant-frameworks_native/libs
Dan Stoza 0de7ea7529 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.

Fixes an issue with the first version of this change, found in bugs
20482952, 20443314, and 20464549.

Bug: 13175420
Change-Id: I9b6e83cfe8f9b4329a976025cb8e291d51fb6d4a
2015-04-23 13:25:11 -07:00
..
binder
diskusage Add missing <unistd.h> include for close. 2015-02-19 16:58:44 -08:00
gui libgui: Change BufferQueue to use free lists 2015-04-23 13:25:11 -07:00
input
ui libgui: Pass surface damage through BufferQueue 2015-04-15 13:19:38 -07:00