Re: Selecting the highest possible GL profile at runtime.
Posted by Martin on Oct 14, 2021; 9:58am
URL: https://forum.jogamp.org/Selecting-the-highest-possible-GL-profile-at-runtime-tp4041302p4041378.html
Another interesting thing to share about GL version detection and JOGL profile : when running on a Microsoft VM in Github CI and asking a GL2 profile, I got this
PROFILE : GLProfile[GL2/GL2.sw]
CAPS (query) : GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL2/GL2.sw], offscr[auto-cfg]]
CAPS (found) : GLCaps[wgl vid 14 gdi: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/0, dp/st/ms 16/8/0, one, mono , sw, GLProfile[GL2/GL2.sw], offscr[bitmap]]
GL_VENDOR : Microsoft Corporation
GL_RENDERER : GDI Generic
GL_VERSION : 1.1.0
GL_EXTENSIONS :
GL_WIN_swap_hint
GL_EXT_bgra
GL_EXT_paletted_texture
GL INSTANCE : jogamp.opengl.gl4.GL4bcImpl
GL2 : true
GL2GL3 : true
GL3 : false
GL3bc : false
GL4 : false
GL4ES3 : false
GL4bc : false
Knowing Julien a bit, I know we won't discuss problems involving Github+Microsoft VM in detail :D but I mainly discuss the topic of JOGL profile & version selection.