Login  Register

Re: com.jogamp.opengl.util.Animator

Posted by Sven Gothel on Mar 26, 2011; 10:58pm
URL: https://forum.jogamp.org/com-jogamp-opengl-util-Animator-tp2735609p2737276.html

On Saturday, March 26, 2011 22:10:47 Itun [via jogamp] wrote:
>
> I am sorry for a such tangled post, I was hurry.
> I used GLCanvas. I have pasted
> javax.swing.SwingUtilities.isEventDispatchThread() at the display()
> function, which had returned "true". But animator must create a new thread
> for GLEventListener.
> Now I am using GLWindow and it return me "false".

yup.

AWT GLCanvas must render on the AWT EDT even if kicked off by a
3rd animation thread.

NEWT can do it's job on the animation thread and hence doesn't
get saturated in such way.

~Sven