()
| 45 | } |
| 46 | |
| 47 | function doCurrentFrame() { |
| 48 | // if we're not getting accurate frame times |
| 49 | // set last frame time as the current time |
| 50 | if (!fpsCallback || !fpsCallback.running) { |
| 51 | lastFrameTime = getTimeInFrameBase(); |
| 52 | } |
| 53 | currentFrameScheduled = false; |
| 54 | const thisFrameCbs = currentFrameAnimationCallbacks; |
| 55 | currentFrameAnimationCallbacks = {}; |
| 56 | callAnimationCallbacks(thisFrameCbs, lastFrameTime); |
| 57 | } |
| 58 | |
| 59 | function doFrame(currentTimeMillis: number) { |
| 60 | lastFrameTime = currentTimeMillis; |
nothing calls this directly
no test coverage detected