commit | 5736f7dc1535452799ef2ea2026b7d1465567a31 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Wed Oct 12 10:35:17 2016 -0700 |
committer | Matthew Bouyack <mbouyack@google.com> | Wed Oct 12 12:48:43 2016 -0700 |
tree | 9c9ea18d3ba83a1bd78cd093860ec1103ef6d664 | |
parent | dc34164cefc94d8ce417b24d9c95459567a2fef9 [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