Login  Register

Re: Test application on different openGL version

Posted by Sven Gothel on May 17, 2019; 1:01pm
URL: https://forum.jogamp.org/Test-application-on-different-openGL-version-tp4039778p4039796.html

On 5/17/19 8:22 AM, Nelu Cristian Tone [via jogamp] wrote:
> There is no any GLProfile for openGL 1.1

Correct.

In theory it could be feasible to query one exact GL context
profile from the OpenGL implementation, which is supported
'under the hood'.

Practically this is of no use for proper runtime validation
as the implementation may not reliably differentiate minor version
numbers or otherwise - there is no guarantee.

However, selecting a GL* profile vi GLProfile might be
good enough for source code compatibility verification.
Yes, we start at GL2 here, which includes OpenGL 1.1+,
sorry about that. At some point one needs to make a
compromise regarding complexity.

For real product validation, I would attempt to use either
1) a pass through GL implementation, capable of restricting
the OpenGL capabilities and hence profile

2) using a virtual machine w/ same restrictions

Hope this helps a little

~Sven