commit | 127fc63e8a15366b4395f1363e8e18eb058d1709 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Tue Jun 30 13:43:32 2015 -0700 |
committer | Dan Stoza <stoza@google.com> | Tue Jan 05 15:02:32 2016 -0800 |
tree | 10dee6e3a6e3e3e50c351834c2c88a5516ae429d | |
parent | 1e9edc619c6b1ca3998a26eaa4882b55ce801f12 [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