Searched refs:mRefreshPeriod (Results 1 – 9 of 9) sorted by relevance
41 : mRefreshPeriod(refreshPeriod), in Timer()61 while (mBaseTime + mRefreshPeriod * 1.5 < point) { in addTimestamp()62 mBaseTime += mRefreshPeriod; in addTimestamp()65 std::chrono::nanoseconds delta = (point - (mBaseTime + mRefreshPeriod)); in addTimestamp()66 if (delta < -mRefreshPeriod / 2 || delta > mRefreshPeriod / 2) { in addTimestamp()71 mBaseTime += mRefreshPeriod + delta * 2 / 10; in addTimestamp()77 if (offset < -(mRefreshPeriod / 2) || offset > mRefreshPeriod / 2) { in sleep()82 auto targetTime = mBaseTime + mRefreshPeriod + offset; in sleep()84 targetTime += mRefreshPeriod; in sleep()91 const std::chrono::nanoseconds mRefreshPeriod; member in __anone1a860ef0111::Timer[all …]
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()[all …]
38 mEgl(egl), mRefreshPeriod(refreshPeriod) {}; in FrameStatistics()58 const std::chrono::nanoseconds mRefreshPeriod; variable
40 mRefreshPeriod = period; in setRefreshPeriod()66 return mRefreshPeriod; in getRefreshPeriod()
49 : mRefreshPeriod(refreshPeriod) {} in EGL()69 const std::chrono::nanoseconds mRefreshPeriod;
58 mRefreshPeriod GUARDED_BY(mMutex) = std::chrono::nanoseconds{12'345'678}; in GUARDED_BY()
60 const std::chrono::nanoseconds mRefreshPeriod; variable
38 uint32_t numFrames = deltaTimeNano / mRefreshPeriod.count(); in updateFrames()
215 const std::chrono::nanoseconds mRefreshPeriod; variable