summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Dan Stoza <stoza@google.com> 2016-10-12 10:35:17 -0700
committer Matthew Bouyack <mbouyack@google.com> 2016-10-12 12:48:43 -0700
commit5736f7dc1535452799ef2ea2026b7d1465567a31 (patch)
tree9c9ea18d3ba83a1bd78cd093860ec1103ef6d664 /libs/gui/ConsumerBase.cpp
parentdc34164cefc94d8ce417b24d9c95459567a2fef9 (diff)
libui: Add hasSignaled() method to Fence
Adds a hasSignaled() method to android::Fence. This will make it easier to write client code that only cares whether a fence has signaled, and allows such code to gain the performance benefits of wait(0) (which is significantly faster than getSignalTime()) while still being obvious about what it is trying to do. Test: m Change-Id: Ia28ce6cff3860a171254ea20a24f3f1bfbc67eb8
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions