Login  Register

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

Posted by Wade Walker on Feb 04, 2011; 10:46pm
URL: https://forum.jogamp.org/New-tutorial-on-AWT-SWT-Swing-GLJPanel-GLCanvas-tp2363921p2427975.html

Matt wrote
This should not be that difficult, granted you are familiar with WGL API :)
I just got the SWT DLLs to compile successfully on Windows, and ran a JOGL SWT app on top of them to prove that they work  All I need to do now is change the JNI code to fix multisampling and recompile.

Matt wrote
But to be honest, I am thinking about switching to JOGL's GLCanvas, as the multisampling is not the only drawback of SWT's canvas... after some recent changes it's external GLContext became incompatible with JOGL GL3 profile, as I mentioned in other thread.
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.