[quote]Okay… so anyone have a small sample of how this works so I can try it out? I just changed a bunch of stuff in JOGL for OSX and I want to make sure what you’re proposing works on OSX.
[/quote]
Gregory,
What I’m trying to accomplish here is to use LWJGL for rendering inside SWT windows / images, instead of in LWJGL Window.
While some ports of SWT (Windows & Motif) do have an experimental OpenGL binding, it supports only OpenGL 1.1.
This binding consists of two nearly orthogonal APIs:
- org.eclipse.swt.opengl.GLContext
- org.eclipse.swt.opengl.GL/GLU etc.
For my own SWT port, I only reimplemented the GLContext class and instead of using the GL binding of SWT, I use the much more complete GL binding of LWJGL.
In other words, exactly what Cas finds valuable: the ability to mix & match GL bindings (JOGL, SWT/GL, LWJGL) with GL context implementations (AWT/Swing+JOGL, SWT or LWJGL Window).