Hi Ivan! Am 03.02.2012 21:15, schrieb Ivan Vučica: > > But the mesa implementation of EGL supports it > and that's probably what we care about on the desktop. Check out the > examples at: > > http://cgit.freedesktop.org/mesa/demos/tree/src/egl/opengl > > > > For some reason I can't open cgit.freedesktop.org > <http://cgit.freedesktop.org> for the last few days.
It was down for me as well, but now it seems to be working fine. > Also, you don't create Open(GL|GLES|VG) contexts explicitly with EGL. > You bind the client APIs you want to EGL and create an EGLContext that > you'll use instead. > > > Huh. I feel this all may be too new and non-standard (in the sense of > "unusual") for easy adoption. > I'd feel more comfortable simply wrapping the small amount of > platform-specific code and using that. If EGL turns out to be easily > supportable on all platforms (as you say it should be), it's easy to > kick out all the other platform-specific code and replace it with EGL. Yes that sounds like a reasonable thing to do. Keeping EGL in mind is more a future-proofing measure because it gives us a great deal of platform independence and since the Khronos group says it's the future, why shouldn't we listen ;-) Unless I'm missing something, the only places where we would need to differentiate between WGL/GLX/EGL would be context creation and *MakeCurrent(), anyways. Supporting both OpenGL and GLES is probably the bigger challenge… Cheers, Niels _______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
