Commit 34b35c5a0a379a6b4c0b23b9d347a0b1338f0239 allows maximum detected GL profile,
however MacOSXCGLContext.isGLProfileSupported(..) refuses to support GL > 3.
Allow support of OpenGL >= 3.1 including >= 4.0 for OSX.
*** Bug 864 has been marked as a duplicate of this bug. ***
*** Bug 869 has been marked as a duplicate of this bug. ***
Use new kCGLPFAOpenGLProfile values:
kCGLOGLPVersion_GL3_Core (== old kCGLOGLPVersion_3_2_Core value)
Besides recognizing OSX 10.9 ability to have core >= 4 available,
I experienced a quirk ..
New GLRenderer GL4NeedsGL3Request:
OSX >= 10.9.0 - kCGLOGLPVersion_GL4_Core may not produce hw-accel context
here we have to use kCGLOGLPVersion_GL3_Core,
otherwise we will have APPLE's software renderer.
I got this one w/ the NV driver, but it may happen w/ other GPU/drivers as well.
Add GLRendererQuirks: Quirk GL4NeedsGL3Request and 'sticky device quirks'
Allow core >=4 if isMavericksOrLater;
Use [kCGLOGLPVersion_GL4_Core, kCGLOGLPVersion_GL3_Core]
for major==4 depending on sticky GLRendererQuirks.GL4NeedsGL3Request
Trigger GLRendererQuirks.GL4NeedsGL3Request and make it sticky; Only alias profiles if HW-Accelerated!
Only alias profiles if HW-Accelerated!
GLContextImpl.mapGLVersions(..) shall not map a higher profile to a lower if it is a software renderer.
GLContextImpl.mapGLVersions(..) attempts to trigger GLRendererQuirks.GL4NeedsGL3Request if OSX 10.9
by creating a GL3 core context first.
- On OSX 10.9: Detect GLRendererQuirks.GL4NeedsGL3Request and make it sticky (per device)
- Merge sticky quirks w/ local quirks
TestGearsES2NEWT: Add cmdline '-gl2' to force GL2 profile.
I downloaded the 2.1.4 jogl jar files. When running a sample program using them on linux, it reports OpenGL 4.3 as I would expect, but when running the exact program on my 10.9.1 Mac, it still reports OpenGL 2.1. Is there something special that needs to be done to get OpenGL 4 (or even OpenGL 3.3) on Mac mavericks?
Sorry - Just a silly mistake. I've got what I expect on Mac. Sorry for the unnecessary post.