The page on EGL should be up to date. I use EGL for my engine, which has the benefit that the same code can be shared with Android. GLFW on the other hand can initialize on desktops as well. For Emscripten purposes, both should work just fine. Perhaps see the tests/ directory on the example code to initialize using those, and decide from there which you prefer better?
Jukka 2014-02-11 1:43 GMT+02:00 Joel Croteau <[email protected]>: > What is the simplest/best supported API to use to create a window for > OpenGL in Emscripten? I'm adapting an application that uses GLES2 for > rendering. It's using X11/GLX right now, but that is overcomplicated and > not well supported. I can switch to SDL, but I would rather not use SDL if > that's the only thing I'm using it for. I'm looking at using either GLFW or > EGL, which would be the better choice? Also, is the wiki page on EGL still > up to date as far as what is/is not supported? > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
