ruffle/web
Mike Welsh f09bd8c079 core: Clean up tick/render loop
Don't call `render` from `Player::tick`; instead, require the
frontends to explicitly call `render` when they wish to redraw.
The frontend can query `Player::needs_render` to see if the stage
is dirty and needs a redraw. Update desktop and web to use this
new method.

This fits better with the newer winit event loop model, which
requires explicitly calling `request_redraw`, and should avoid
spurious renders.
2020-05-02 04:25:21 -07:00
..
common render: Move canvas renderer to separate subcrate 2020-04-29 23:26:41 -07:00
demo Web Demo Mobile Styling Changes + Bug Fix 2020-04-29 23:26:11 -07:00
extension web: Add all_frames to make extension work on pages with frames 2020-04-29 23:23:25 -07:00
js-src web: Add "frames" polyfill setting 2020-04-29 23:23:25 -07:00
selfhosted build(deps-dev): bump @wasm-tool/wasm-pack-plugin in /web/selfhosted 2020-04-25 11:33:38 +00:00
src core: Clean up tick/render loop 2020-05-02 04:25:21 -07:00
Cargo.toml render: Move canvas renderer to separate subcrate 2020-04-29 23:26:41 -07:00