Searched refs:nextVsyncTime (Results 1 – 4 of 4) sorted by relevance
41 ScheduleResult getExpectedCallbackTime(nsecs_t nextVsyncTime, in getExpectedCallbackTime() argument43 return {TimePoint::fromNs(nextVsyncTime - timing.readyDuration - timing.workDuration), in getExpectedCallbackTime()44 TimePoint::fromNs(nextVsyncTime)}; in getExpectedCallbackTime()102 auto nextVsyncTime = in schedule() local107 auto nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule()110 mArmedInfo && (nextVsyncTime > (mArmedInfo->mActualVsyncTime + mMinVsyncDistance)); in schedule()117 nextVsyncTime = mArmedInfo->mActualVsyncTime; in schedule()119 nextVsyncTime = adjustVsyncIfNeeded(tracker, nextVsyncTime); in schedule()121 nextWakeupTime = std::max(now, nextVsyncTime - timing.workDuration - timing.readyDuration); in schedule()124 return getExpectedCallbackTime(nextVsyncTime, timing); in schedule()[all …]
93 nsecs_t adjustVsyncIfNeeded(VSyncTracker& tracker, nsecs_t nextVsyncTime) const;
610 const TimePoint nextVsyncTime = in getNextFrameInterval() local613 const Duration frameInterval = nextVsyncTime - currentExpectedPresentTime; in getNextFrameInterval()
420 nsecs_t nextVsyncTime = in schedule() local424 size_t vsyncsForLastFrame = divRound(nextVsyncTime - mLastVsyncTime, mVsyncPeriod); in schedule()433 nextVsyncTime -= mVsyncPeriod; in schedule()441 nextVsyncTime += mVsyncPeriod; in schedule()456 mLastVsyncTime = nextVsyncTime; in schedule()