Login  Register

Re: JOGL with SWT(and NEWT) and OpenGL ES 2.0 for Eclipse RCP

Posted by bforrester on Jul 18, 2012; 1:20pm
URL: https://forum.jogamp.org/JOGL-with-SWT-and-NEWT-and-OpenGL-ES-2-0-for-Eclipse-RCP-tp3772584p4025571.html

Thanks for the rapid update Wade. We essentially ran the same tests you described in your ticket. It does seem to be some sort of race condition since we see one of 3 states occur when the app runs:

1) The pthread error as described or
2) The app hangs on window initialization or
3) The app launches and behaves perfectly fine from there on out.

We also notice that if an OpenGL window is not part of the initial opened perspective we don't have any problems (no problems on initializing a GL window after the app fully starts). For what it's worth we are using the AWT_SWT  method you posted Wade, with the 2.0rc8 build under both 3.6 and 3.7 target platforms using Oracle Java 1.6.xxx and 1.7. The heavy weight SWT/GLCanvas didn't work for us to support Windows, Mac, and Linux.

I will definitely subscribe to the ticket and follow this closely. This is pretty important for us since a significant amount of our customers are on Linux and our old solution (the Sun 1.0.1 lib with heavyweight SWT/GLCanvas) is beginning to show its age :)

Thanks again for your feedback and looking into this.