summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2015-04-23 13:20:51 -0700
committer Dan Stoza <stoza@google.com> 2015-04-23 13:25:11 -0700
commit0de7ea752900b5da29ad19c2799040235477f3c5 (patch)
treeb24e274a53cb37a18636508db3f07b0e17393899 /libs/ui/FramebufferNativeWindow.cpp
parentde5c15b8bd12143829d043fa4ab457600e5682b3 (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. Fixes an issue with the first version of this change, found in bugs 20482952, 20443314, and 20464549. Bug: 13175420 Change-Id: I9b6e83cfe8f9b4329a976025cb8e291d51fb6d4a
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions