Skip to content
Snippets Groups Projects
Commit 7874964e authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware)
Browse files

Enable multiple canvases in single wasm module

- this commit renames CanvasId to CanvasSelector
  and forwards it to emscripten calls.
- made it so users can invoke `ProcessEvents` on the wasm
  interactor directly without calling `Start`. This is needed
  because the only way for users to process events on multiple
  wasm interactors is to call `emscripten_set_main_loop` with
  a lambda that invokes `ProcessEvents` on all interactors.
- removed the `canvas` key in the wasm module from
  examples and unit test html files.
- clean up wasm examples because the Module.canvas property is not required.
- simplify cmake setup in wasm examples
parent 476fb11a
No related branches found
No related tags found
No related merge requests found
Showing
with 143 additions and 747 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment