Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp98 struct SamplingOffsetCallback : DispSync::Callback { struct
99 SamplingOffsetCallback(RegionSamplingThread& samplingThread, Scheduler& scheduler, in SamplingOffsetCallback() argument
105 ~SamplingOffsetCallback() { stopVsyncListener(); } in ~SamplingOffsetCallback()
110 void startVsyncListener() { in startVsyncListener()
120 void stopVsyncListener() { in stopVsyncListener()
126 void stopVsyncListenerLocked() /*REQUIRES(mMutex)*/ { in stopVsyncListenerLocked()
133 void onDispSyncEvent(nsecs_t /*when*/, nsecs_t /*expectedVSyncTimestamp*/) final { in onDispSyncEvent()
153 RegionSamplingThread& mRegionSamplingThread;
154 Scheduler& mScheduler;
155 const std::chrono::nanoseconds mTargetSamplingOffset;
[all …]