Home
last modified time | relevance | path

Searched refs:mAutoSwapInterval (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/gamesdk/src/swappy/
DSwappy.cpp170 (mAutoSwapInterval <= mAutoSwapIntervalThreshold); in swapInternal()
221 return swappy->mAutoSwapInterval.load() * swappy->mRefreshPeriod.count(); in getSwapIntervalNS()
391 mAutoSwapInterval(1) in Swappy()
426 if (mSwapInterval != newSwapInterval || mAutoSwapInterval != newSwapInterval) { in onSettingsChanged()
428 mAutoSwapInterval = mSwapInterval.load(); in onSettingsChanged()
463 mTargetFrame = currentFrame + mAutoSwapInterval; in startFrame()
469 mPresentationTime = currentFrameTimestamp + (mAutoSwapInterval * intervals) * mRefreshPeriod; in startFrame()
524 if (mAutoSwapInterval <= mAutoSwapIntervalThreshold) { in waitForNextFrame()
561 mAutoSwapInterval = newSwapInterval; in swapSlower()
562 ALOGV("Changing Swap interval to %d", mAutoSwapInterval.load()); in swapSlower()
[all …]
DSwappy.h200 std::atomic<int32_t> mAutoSwapInterval; variable