Searched refs:nextVsyncTime (Results 1 – 2 of 2) sorted by relevance
36 nsecs_t getExpectedCallbackTime(nsecs_t nextVsyncTime, in getExpectedCallbackTime() argument38 return nextVsyncTime - timing.readyDuration - timing.workDuration; in getExpectedCallbackTime()43 const auto nextVsyncTime = tracker.nextAnticipatedVSyncTimeFrom( in getExpectedCallbackTime() local45 return getExpectedCallbackTime(nextVsyncTime, timing); in getExpectedCallbackTime()91 auto nextVsyncTime = tracker.nextAnticipatedVSyncTimeFrom( in schedule() local93 auto nextWakeupTime = nextVsyncTime - timing.workDuration - timing.readyDuration; in schedule()96 mArmedInfo && (nextVsyncTime > (mArmedInfo->mActualVsyncTime + mMinVsyncDistance)); in schedule()100 return getExpectedCallbackTime(nextVsyncTime, timing); in schedule()104 ((*mLastDispatchTime + mMinVsyncDistance) >= nextVsyncTime && in schedule()105 (*mLastDispatchTime - mMinVsyncDistance) <= nextVsyncTime); in schedule()[all …]
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()