Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/src/swappy/
DSwappy.cpp389 mSwapDuration(std::chrono::nanoseconds(0)), in Swappy()
445 mCurrentFrameTimestamp = std::chrono::steady_clock::now() + mSwapDuration.load() + 1ms; in wakeClient()
447 return mSwapDuration; in wakeClient()
671 mSwapDuration = (mSwapDuration.load() * 4 / 5) + duration / 5; in updateSwapDuration()
678 if (mSwapDuration.load() > (mRefreshPeriod / 2)) mSwapDuration = mRefreshPeriod / 2; in updateSwapDuration()
DSwappy.h194 std::atomic<std::chrono::nanoseconds> mSwapDuration; variable