Login  Register

Re: Rendering outside EventListener and program fell into dead loop

Posted by HamudHaa on Jan 21, 2024; 2:51am
URL: https://forum.jogamp.org/Rendering-outside-EventListener-and-program-fell-into-dead-loop-tp4043262p4043269.html

It's simpler for real . In my case , I want my frame rate updated on higher frequency when I'm inputting keyboard actions . So I guess I have to go outside animator and put draw functions in a self-designed thread . I wonder from GLAutoDrawable.invoke() , makeCurrent() , Canvas.display() which is the best option should I use to draw something outside animator ?