Lines Matching refs:drawFrame
164 function drawFrame(canvas) {
179 surface.requestAnimationFrame(drawFrame);
181 surface.requestAnimationFrame(drawFrame);
204 function drawFrame(canvas) {
219 surface.requestAnimationFrame(drawFrame);
221 surface.requestAnimationFrame(drawFrame);
226 pass it to `surface.requestAnimationFrame(drawFrame);` That callback is handed a `canvas` and
231 function drawFrame(canvas) {
234 surface.requestAnimationFrame(drawFrame);
236 surface.requestAnimationFrame(drawFrame);
241 redraw the round rect, and call `surface.requestAnimationFrame(drawFrame)` registering the
244 `surface.requestAnimationFrame(drawFrame)` combines window.requestAnimationFrame with
247 don't call `surface.requestAnimationFrame` at the end of your drawFrame function. Call it only