awt.GLCanvas vs opengl.swt.GLCanvas

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

awt.GLCanvas vs opengl.swt.GLCanvas

sasmaster
Hi All. Is there an advantage using one of these versions of GLCanvas ?

awt.GLCanvas  or  opengl.swt.GLCanvas ?
Reply | Threaded
Open this post in threaded view
|

Re: awt.GLCanvas vs opengl.swt.GLCanvas

Sven Gothel
Administrator
On 05/24/2012 10:17 AM, sasmaster [via jogamp] wrote:
> Hi All. Is there an advantage using one of these versions of GLCanvas ?
>
> awt.GLCanvas  

This one *is-an* AWT Canvas, fitted w/ GLAutoDrawable functionality.

> or  opengl.swt.GLCanvas ?

This one *is-an* SWT Canvas, fitted w/ GLAutoDrawable functionality.

Both are supposed to do the same thing from the JOGL perspective
but one is to be added to an AWT UI tree, and the other to an SWT UI tree.

~Sven