wasm-opengl: replace SDL2 with emscripten webgl API
Refactors the webassembly opengl render window to use emscripten's html5.h
and html_webgl.h
. It now calls into emscripten_* APIs to create a GL context, resize window, swap buffers and so on.
This works in
- wasm32
- wasm64
- wasm32+pthread proxying
- wasm64+pthread proxying
Edited by Jaswant Panchumarti (Kitware)