Login  Register

Re: New tutorial on AWT/SWT/Swing/GLJPanel/GLCanvas

Posted by Matt on Feb 05, 2011; 10:59pm
URL: https://forum.jogamp.org/New-tutorial-on-AWT-SWT-Swing-GLJPanel-GLCanvas-tp2363921p2434057.html

Wade Walker wrote
I found out while investigating this that GL3 is not cross-platform yet... apparently the latest version of Mac OS X only supports up to OGL 2.1 (see http://developer.apple.com/graphicsimaging/opengl/capabilities/ for details). So if I can add GL3 context support to SWT, it'll have to be Windows and Linux only for now, unfortunately.
Wow, I didn't know that Mac is that much behind...
Anyway, as I mentioned in this thread, the case with GL3 in SWT canvas on newest JOGL builds is a bit odd, as after removing a few conditions from the JOGL sources it seems to be running just fine. The problem is that it reports its context version as 3.0, when according to newest JOGL builds, 3.1 is required (and other conditions). I must say I don't know if this is just a 'reported version/capabilities' problem, or there is actually something bigger going on deeper...