Searched refs:prevTime (Results 1 – 7 of 7) sorted by relevance
39 static Uint64 prevTime = 0; variable47 if (prevTime == 0) { in updateDeltaTime()48 prevTime = SDL_GetPerformanceCounter(); in updateDeltaTime()52 deltaTime = (double) (curTime - prevTime) / (double) SDL_GetPerformanceFrequency(); in updateDeltaTime()53 prevTime = curTime; in updateDeltaTime()
64 var prevTime;74 var ms = curr - (prevTime || curr);76 self.prev = prevTime;78 prevTime = curr;
162 double prevTime = 0.0; in run() local167 double deltaTime = elapsedTime - prevTime; in run()192 prevTime = elapsedTime; in run()
63 SkScalar SkInterpolatorBase::ComputeRelativeT(SkMSec time, SkMSec prevTime, in ComputeRelativeT() argument65 SkASSERT(time > prevTime && time < nextTime); in ComputeRelativeT()67 SkScalar t = (SkScalar)(time - prevTime) / (SkScalar)(nextTime - prevTime); in ComputeRelativeT()
233 double prevTime = 0.0; in run() local238 double deltaTime = elapsedTime - prevTime; in run()273 prevTime = elapsedTime; in run()
71 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime, SkMSec nextTime,
15447 let prevTime;15462 const ms = curr - (prevTime || curr);15464 self.prev = prevTime;15466 prevTime = curr;