Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/src/swappy/
DSwappy.cpp424 int32_t newSwapInterval = ::round(float(Settings::getInstance()->getSwapIntervalNS()) / in onSettingsChanged() local
426 if (mSwapInterval != newSwapInterval || mAutoSwapInterval != newSwapInterval) { in onSettingsChanged()
427 mSwapInterval = newSwapInterval; in onSettingsChanged()
554 const int32_t& newSwapInterval) { in swapSlower() argument
561 mAutoSwapInterval = newSwapInterval; in swapSlower()
580 const int32_t& newSwapInterval) { in swapFaster() argument
582 mAutoSwapInterval = newSwapInterval; in swapFaster()
623 const int32_t newSwapInterval = framesPerRefresh + (framesPerRefreshRemainder ? 1 : 0); in updateSwapInterval() local
633 swapSlower(averageFrameTime, upperBound, lowerBound, newSwapInterval); in updateSwapInterval()
637 swapFaster(averageFrameTime, upperBound, lowerBound, newSwapInterval); in updateSwapInterval()
DSwappy.h183 const int32_t& newSwapInterval) REQUIRES(mFrameDurationsMutex);
188 const int32_t& newSwapInterval) REQUIRES(mFrameDurationsMutex);