Login  Register

Re: GLWindow.setSize exception upgrading to rc8

Posted by jouvieje on May 08, 2012; 7:25am
URL: https://forum.jogamp.org/GLWindow-setSize-exception-upgrading-to-rc8-tp3966421p3970608.html

I have tested using a GLAnimationControl to register my own RenderLoop, and the freeze is in fact gone with that.
One question about GLAnimationControl, is it necessary to implements FPSCounter methods ? Returning 0 to all fps getter seem to work fine, but I'm wondering if it's ok do to that.

Basically, my setup is a NewtCanvasAWT inside a frame/jframe. RenderLoop calls GLWindow.display in it's own thread. The frame is resize in some other thread I've created. And it seem AWTParentWindowAdapter runs the newt window resize in it's own EDT thread, which seems to dislike my RenderLoop locking the surface.

I'll try to write a test case to reproduce this freeze.
Would it be usefull to you if I send you the binary of my application which reproduce the freeze ?
Jérôme