Re: OpenGL 4 status
Posted by
Sven Gothel on
May 29, 2011; 11:05am
URL: https://forum.jogamp.org/OpenGL-4-status-tp2969055p2998321.html
On Sunday, May 22, 2011 01:46:09 pm Job Zwiers [via jogamp] wrote:
>
> Ok, thank's Michael, that workaround seems to work. I do get a GL4
> context,
> and glGetString(GL.GL_VERSION) now correctly reports version 4.1
>
> Still I have a question: it seems that specific OGL4.0/OGL4.1 features are
> already present in Jogl GL3.
> I also see from the Javadoc that GL4 does not introduce new constants or new
> methods,
> although OpenGL 4.0/4.1 of course does add a few things on top of OpenGL
> 3.3.
All GL 4.0/4.1 features are part of GL3* as extensions, hence they are subsumed.
If you request a 3.* profile, or your default highest one is a 2.* profile,
you would need to query for the availability of the extensions exceeding the 3.* spec.
>
> So what's the philosophy behind the GL4 interface? Is it just a "tagging
> interface" ?
Sort of, it guarantess that you have full GL4 support.
The GL profile selection is mainly done in the context creation,
where we request a specific profile.
~Sven