Re: GLCanvas wit overlay
Posted by
gouessej on
Dec 21, 2018; 9:54pm
URL: https://forum.jogamp.org/GLCanvas-wit-overlay-tp4039329p4039337.html
You should avoid using com.jogamp.opengl.util.
awt.Overlay with SWT.
You should really read the Java documentation of GLCanvas.invoke(). You should post your Runnable after starting your Animator and you should pass "true" to GLCanvas.invoke() if and only if you absolutely need to run the Runnable now and if it doesn't risk to block the rendering.
No, you could simply draw your text with JOGL if possible or with an alternative overlay relying on SWT.
Have you looked at this?
http://forum.jogamp.org/How-to-overlay-SWT-Widgets-over-GLCanvas-td4029507.html