Home
last modified time | relevance | path

Searched refs:framesCount (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/demos.skia.org/demos/path_performance/
Dmain.js35 worker.addEventListener('message', ({ data: {renderMethod, framesCount, totalFramesMs} }) => { property
36 const fps = fpsFromFramesInfo(framesCount, totalFramesMs);
44 textEl.innerText = `${fps.toFixed(2)} fps over ${framesCount} frames`;
48 if (svgAnimator.framesCount > 0) {
49 const fps = fpsFromFramesInfo(svgAnimator.framesCount, svgAnimator.totalFramesMs);
51 `${fps.toFixed(2)} fps over ${svgAnimator.framesCount} frames`;
103 function fpsFromFramesInfo(framesCount, totalFramesMs) { argument
104 const averageFrameTime = totalFramesMs / framesCount;
Dworker.js40 if (path2dAnimator.framesCount > 0) {
43 framesCount: path2dAnimator.framesCount, property
47 if (canvasKitAnimator.framesCount > 0) {
50 framesCount: canvasKitAnimator.framesCount, property
Dshared.js12 framesCount = 0; field in Animator
20 this.framesCount = 0;
26 this.framesCount++;
28 const [x, y] = circleCoordinates([-70, -70], 50, this.framesCount/100);