swfw icon indicating copy to clipboard operation
swfw copied to clipboard

Initial Emscripten support

Open felselva opened this issue 8 years ago • 1 comments

In the Emscripten backend, the function swfw_make_context probably won't do anything, but its hints can still be used in the function swfw_make_window. One of the functions will probably be the name of the canvas HTML element that will be used.

For web, there will be no support for non hardware accelerated window. The only option will be with hardware acceleration.

felselva avatar Nov 25 '17 22:11 felselva

Emscripten contains functions emscripten_webgl_* that can be used to manage a WebGL context.

Emscripten documentation: https://kripken.github.io/emscripten-site/docs/api_reference/html5.h.html?highlight=emscripten_webgl_#c.emscripten_webgl_create_context

felselva avatar Nov 27 '17 06:11 felselva