Re: New tutorial for JOGL in Eclipse RCP application
Posted by Sven Gothel on Oct 09, 2010; 7:48pm
URL: https://forum.jogamp.org/New-tutorial-for-JOGL-in-Eclipse-RCP-application-tp1670638p1671877.html
On Saturday, October 09, 2010 21:07:10 wwalker3 [via jogamp] wrote:
>
> This tutorial was partly an experiment to see if the SWT GLCanvas would work
> correctly with JOGL 2 -- so far, it seems to work fine I've used it
> extensively with JOGL 1.1.1 at work, but the work schedule so far hasn't
> allowed porting all the rest of our code to JOGL 2.
>
> Since I'm writing Eclipse RCP apps, I try to use SWT only, since that's the
> same toolkit Eclipse is built with. I always worried that putting in any AWT
> stuff might cause problems with window messages getting delivered correctly.
Indeed .. my recommendation is to avoid AWT if possible as well.
If you really need, please try out the NewtCanvasAWT,
which attaches a native NEWT window as a child to the native AWT peer.
Works so far pretty well, ie no AWT-EDT slow down.
In regards to SWT, we may like to add a better native support for it.
Don't know if the current situation is capable of all GL profiles etc.
However, great stuff - good work, thank you Wade.
Cheers, Sven