Login  Register

Re: Selecting the highest possible GL profile at runtime.

Posted by Martin on Oct 01, 2021; 5:40pm
URL: https://forum.jogamp.org/Selecting-the-highest-possible-GL-profile-at-runtime-tp4041302p4041332.html

There is one additional thing to note : when I order a GL2 profile, I got the below info. I output all isGLxx() output and found that above GL2 returns true despite my Mac seams limited to OpenGL 2.1 (10.12.6 from 2013).

GL2    : true
GL2GL3 : true
GL3    : true
GL3bc  : false
GL4    : true
GL4ES3 : true


Capabilities  : GLCaps[rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2.hw], offscr[fbo]]
GL_VENDOR     : NVIDIA Corporation
GL_RENDERER   : NVIDIA GeForce GT 650M OpenGL Engine
GL_VERSION    : 2.1 NVIDIA-10.17.5 355.10.05.45f01

Which I got with : gl.glGetString(GL.GL_VERSION)

Reading this page lead me to think that the OpenGL version supported by mac Mac is OpenGL 4.1. I am a bit lost who I should believe :D