Re: Native SWT Binding Test
Posted by
Wade Walker on
Mar 01, 2011; 3:09am
URL: https://forum.jogamp.org/Re-Native-SWT-Binding-Test-tp2600231p2600422.html
I know this is just an experimental demo, but I'm a little scared looking at it

Does this mean that createExternalGLContext() won't get its last few bugs fixed, so this would be the only supported method of using JOGL 2 in SWT?
On the good side, this would give SWT a GL 3+ context on Windows and Linux (and eventually Mac, once Apple upgrades their GL support). I guess there's no alternative to using reflection, since we can't extend the SWT classes directly (because they're platform-specific and we're not). But is it possible for the ProxySurface to automatically track the size and position of the Composite? It would be nice if I could just write this:
GLContext glcontext = factory.createExternalContext(swtcanvas, caps);
without having the ProxySurface and GLDrawable be visible (since they shouldn't get used in an SWT app anyway).