Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Emscripten support #1

Open
felselva opened this issue Nov 25, 2017 · 1 comment
Open

Initial Emscripten support #1

felselva opened this issue Nov 25, 2017 · 1 comment
Assignees

Comments

@felselva
Copy link
Owner

felselva commented Nov 25, 2017

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
Copy link
Owner Author

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 felselva reopened this Nov 27, 2017
@felselva felselva self-assigned this Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant