Searched refs:mVsync (Results 1 – 2 of 2) sorted by relevance
62 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 …]
111 void onNewVsyncSchedule(std::shared_ptr<scheduler::VSyncDispatch>) EXCLUDES(mVsync.mutex);132 Vsync mVsync; variable137 std::shared_ptr<scheduler::VSyncDispatch>) REQUIRES(mVsync.mutex);