Re: Enabling OpenGL GL2 compatible profile on a certain machine - problem!
Posted by
gouessej on
Sep 12, 2018; 2:22pm
URL: https://forum.jogamp.org/Enabling-OpenGL-GL2-compatible-profile-on-a-certain-machine-problem-tp4039189p4039197.html
It's a bit weird, GL4bc shouldn't be detected as a software rasterizer. You could simply call getMaxFixedFunc(true) first and if it doesn't return a GL2 implementation, call getMaxFixedFunc(false).
If you used GL2ES1 (ie. the common subset of GL2 and GLES1), you could use the returned profile as is. If I were you, I would stick to GL2 only if I needed some features not in GL2ES1.
There is no way of dealing with different GPUs in a single machine in JOGL. It's advised to force the machine to avoid switching to another GPU at runtime by choosing a particular setting.