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

Add a webgl backend for rust-graphics #484

Closed
TyOverby opened this issue Jul 17, 2014 · 7 comments
Closed

Add a webgl backend for rust-graphics #484

TyOverby opened this issue Jul 17, 2014 · 7 comments

Comments

@TyOverby
Copy link
Contributor

For when rust has emscripten support, being able to render to a webgl canvas would be amazing.

@gmorenz
Copy link
Contributor

gmorenz commented Jul 17, 2014

There has been a fair bit of work on porting SDL2 to emscripten (emscripten-core/emscripten#2404), are there advantages to rendering directly a webgl canvas?

@TyOverby
Copy link
Contributor Author

It sounds like the SDL port might encompass WebGL rendering.
On Thu, Jul 17, 2014 at 10:27 AM, gmorenz [email protected] wrote:

There has been a fair bit of work on porting SDL2 to emscripten (
emscripten-core/emscripten#2404
emscripten-core/emscripten#2404), are there
advantages to rendering directly a webgl canvas?


Reply to this email directly or view it on GitHub
#484 (comment)
.

@bvssvni
Copy link
Member

bvssvni commented Jul 18, 2014

Also, see #418

@bvssvni
Copy link
Member

bvssvni commented Aug 16, 2014

When flexible target lands, it might become easier to use Emscripten with Rust.

@bvssvni
Copy link
Member

bvssvni commented Aug 18, 2014

This falls out of scope of the project for the moment.

Closing.

@bvssvni bvssvni closed this as completed Aug 18, 2014
@nepp2
Copy link

nepp2 commented Jan 19, 2017

With Rust now able to compile via emscripten and SDL2 apparently officially supported, does anyone know how much work would be required to make this happen? Also, do you guys know how much trouble it would be to get things like sound and input working? Thanks.

@bvssvni
Copy link
Member

bvssvni commented Jan 19, 2017

@nepp2 There has already been some work on this: #1131 (comment)

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

4 participants