Login  Register

Re: Fast identification of available opengl version

Posted by Sven Gothel on Feb 07, 2012; 4:01pm
URL: https://forum.jogamp.org/Fast-identification-of-available-opengl-version-tp3722823p3722928.html

On 02/07/2012 04:51 PM, karelknoes [via jogamp] wrote:
>
>
> Thanks very much for the fast reply! The static profile functions seem to be
> excellent for a coarse version check.
>
> It does seem though that a more detailed check, e.g. minimally opengl
> version 1.5, is not available. Am I overlooking something?
>

According to our GL profile mapping
  <http://jogamp.org/jogl/doc/bouml/html-svg/fig128069.svg>

we only pick the highest available for each profile.

The other generic GLProfile selections (MaxProgrammable, Default, ..)
are cross profiles (eg. MaxProgrammable returns GL4 if [GL2, GLES2, GL3, GL4] is avail.

Picking a lower OpenGL version number IMHO makes no sense.

~Sven


signature.asc (910 bytes) Download Attachment