Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/src/swappy/
DSwappy.cpp50 constexpr std::chrono::nanoseconds Swappy::FRAME_HYSTERESIS; member in swappy::Swappy
566 newBound -= (FRAME_HYSTERESIS * 2); in swapSlower()
587 newBound -= FRAME_HYSTERESIS; in swapFaster()
611 upperBound -= FRAME_HYSTERESIS; in updateSwapInterval()
612 lowerBound -= FRAME_HYSTERESIS; in updateSwapInterval()
616 lowerBound -= FRAME_HYSTERESIS; in updateSwapInterval()
618 auto div_result = ::div((averageFrameTime.getTime(true) + FRAME_HYSTERESIS).count(), in updateSwapInterval()
640 averageFrameTime.getTime(false) < upperBound - FRAME_HYSTERESIS) { in updateSwapInterval()
DSwappy.h241 static constexpr std::chrono::nanoseconds FRAME_HYSTERESIS = 3ms; variable