OSDN Git Service

libgui: Add Surface::getLastDequeueStartTime
authorDan Stoza <stoza@google.com>
Wed, 31 May 2017 20:50:16 +0000 (13:50 -0700)
committerDan Stoza <stoza@google.com>
Wed, 31 May 2017 21:07:50 +0000 (14:07 -0700)
commit932f008485dbb6fb452c8616abd7586f914f72ce
tree80e34a4090291d4ddbd9e9b3411f29e5b498e1d2
parent1e4088fc68d88726bac0349b674ea557a63e0f27
libgui: Add Surface::getLastDequeueStartTime

Adds the getLastDequeueStartTime method, which allows the caller to
determine whether the last dequeueBuffer call fell into a given time
window.

Bug: 62213889
Test: SurfaceTest.TestGetLastDequeueStartTime in libgui_test
Change-Id: I1684deb09273745a3adc751554624d2257fa890e
include/gui/Surface.h
libs/gui/Surface.cpp
libs/gui/tests/Surface_test.cpp