Home
last modified time | relevance | path

Searched refs:prevTime (Results 1 – 7 of 7) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Demos/src/
Dcommon.c39 static Uint64 prevTime = 0; variable
47 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()
/third_party/node/deps/npm/node_modules/debug/src/
Ddebug.js64 var prevTime;
74 var ms = curr - (prevTime || curr);
76 self.prev = prevTime;
78 prevTime = curr;
/third_party/flutter/skia/third_party/externals/angle2/samples/sample_util/
DSampleApplication.cpp162 double prevTime = 0.0; in run() local
167 double deltaTime = elapsedTime - prevTime; in run()
192 prevTime = elapsedTime; in run()
/third_party/flutter/skia/src/utils/
DSkInterpolator.cpp63 SkScalar SkInterpolatorBase::ComputeRelativeT(SkMSec time, SkMSec prevTime, in ComputeRelativeT() argument
65 SkASSERT(time > prevTime && time < nextTime); in ComputeRelativeT()
67 SkScalar t = (SkScalar)(time - prevTime) / (SkScalar)(nextTime - prevTime); in ComputeRelativeT()
/third_party/skia/third_party/externals/angle2/samples/sample_util/
DSampleApplication.cpp233 double prevTime = 0.0; in run() local
238 double deltaTime = elapsedTime - prevTime; in run()
273 prevTime = elapsedTime; in run()
/third_party/flutter/skia/include/utils/
DSkInterpolator.h71 static SkScalar ComputeRelativeT(SkMSec time, SkMSec prevTime, SkMSec nextTime,
/third_party/node/tools/
Dlint-md.mjs15447 let prevTime;
15462 const ms = curr - (prevTime || curr);
15464 self.prev = prevTime;
15466 prevTime = curr;