Lines Matching refs:mRefreshPeriod
221 return swappy->mAutoSwapInterval.load() * swappy->mRefreshPeriod.count(); in getSwapIntervalNS()
272 swappy->mEgl, swappy->mRefreshPeriod); in enableStats()
386 : mRefreshPeriod(refreshPeriod), in Swappy()
415 mAutoSwapIntervalThreshold = (1e9f / mRefreshPeriod.count()) / 20; // 20FPS in Swappy()
425 float(mRefreshPeriod.count())); in onSettingsChanged()
469 mPresentationTime = currentFrameTimestamp + (mAutoSwapInterval * intervals) * mRefreshPeriod; in startFrame()
503 int32_t interval = nano / mRefreshPeriod; in nanoToSwapInterval()
506 if (nano.count() - (interval * mRefreshPeriod.count()) > mRefreshPeriod.count() / 2) { in nanoToSwapInterval()
537 mPresentationTime += lateFrames * mRefreshPeriod; in waitForNextFrame()
565 nanoseconds newBound = mRefreshPeriod * mAutoSwapInterval.load(); in swapSlower()
586 nanoseconds newBound = mRefreshPeriod * mAutoSwapInterval.load(); in swapFaster()
607 nanoseconds upperBound = mRefreshPeriod * mAutoSwapInterval.load(); in updateSwapInterval()
608 nanoseconds lowerBound = mRefreshPeriod * (mAutoSwapInterval - 1); in updateSwapInterval()
619 mRefreshPeriod.count()); in updateSwapInterval()
662 (mRefreshPeriod - mSfOffset)) { in setPresentationTime()
678 if (mSwapDuration.load() > (mRefreshPeriod / 2)) mSwapDuration = mRefreshPeriod / 2; in updateSwapDuration()