Home
last modified time | relevance | path

Searched refs:mVsync (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp62 mVsync.value = (mVsync.value + 1) % 2; in vsyncCallback()
66 std::lock_guard lock(mVsync.mutex); in vsyncCallback()
67 mVsync.lastCallbackTime = expectedVsyncTime; in vsyncCallback()
68 mVsync.scheduledFrameTimeOpt.reset(); in vsyncCallback()
71 const auto vsyncId = VsyncId{mVsync.tokenManager->generateTokenForPredictions( in vsyncCallback()
82 std::lock_guard lock(mVsync.mutex); in initVsyncInternal()
83 mVsync.workDuration = workDuration; in initVsyncInternal()
84 mVsync.tokenManager = &tokenManager; in initVsyncInternal()
97 std::lock_guard lock(mVsync.mutex); in onNewVsyncSchedule()
113 const bool reschedule = mVsync.registration && in onNewVsyncScheduleLocked()
[all …]
DMessageQueue.h111 void onNewVsyncSchedule(std::shared_ptr<scheduler::VSyncDispatch>) EXCLUDES(mVsync.mutex);
132 Vsync mVsync; variable
137 std::shared_ptr<scheduler::VSyncDispatch>) REQUIRES(mVsync.mutex);