summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueue.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2015-06-30 13:43:32 -0700
committer Dan Stoza <stoza@google.com> 2016-01-05 15:02:32 -0800
commit127fc63e8a15366b4395f1363e8e18eb058d1709 (patch)
tree10dee6e3a6e3e3e50c351834c2c88a5516ae429d /libs/gui/BufferQueue.cpp
parent1e9edc619c6b1ca3998a26eaa4882b55ce801f12 (diff)
libgui: Add dequeue/attach timeout
Adds the ability to specify the timeout when dequeueBuffer or attachBuffer block due to the lack of a free buffer/slot. By default, these will block indefinitely (which is signified by a timeout of -1). When a timeout (other than -1) is specified, non-blocking mode is disabled and the given timeout will be used instead. Bug: 25196773 Change-Id: I17fdbeebccb7c8d878703d758ac1209608258e61
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions