gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenGL context without AppKit


From: Ivan Vučica
Subject: Re: OpenGL context without AppKit
Date: Fri, 3 Feb 2012 21:15:26 +0100



On Thu, Feb 2, 2012 at 13:41, Niels Grewe <address@hidden> wrote:

That's not quite correct. Since v1.4 EGL also specifies how to support
plain old OpenGL. Whether it's actually supported is up to the
implementation though.

Definitely interesting!
 
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 for the last few days.
 
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.

--
Ivan Vučica - address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]