Home
last modified time | relevance | path

Searched defs:SamplingOffsetCallback (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp91 struct SamplingOffsetCallback : DispSync::Callback { struct
92 SamplingOffsetCallback(RegionSamplingThread& samplingThread, Scheduler& scheduler, in SamplingOffsetCallback() argument
98 ~SamplingOffsetCallback() { stopVsyncListener(); } in ~SamplingOffsetCallback()
103 void startVsyncListener() { in startVsyncListener()
114 void stopVsyncListener() { in stopVsyncListener()
120 void stopVsyncListenerLocked() /*REQUIRES(mMutex)*/ { in stopVsyncListenerLocked()
129 void onDispSyncEvent(nsecs_t /* when */) final { in onDispSyncEvent()
152 RegionSamplingThread& mRegionSamplingThread;
153 Scheduler& mScheduler;
154 const std::chrono::nanoseconds mTargetSamplingOffset;
[all …]