On 04/05/2012 07:41 AM, Mike [via jogamp] wrote:
>
>
> My main problem is that I am running a multithreaded client/server game, and
> its not safe to call display at random times. I guess i just have to
> manually detect and ignore the native windowing system repaints? is a
> setIgnoreRepaint() method in the works for NEWT?
Well, actually the GLAutoDrawables supress calling 'display()' if they
have an GLAnimatorControl set via setAnimator(GLAnimatorControl) and it's
animating.
This is true for NEWT's GLWindow impl. of windowRepaint(),
GLCanvas paint() method and GLJPanel.
This was indeed introduced to not disturb fluent rendering with window updates.
I assume you don't use one of our animator's ..
If you need to use your own, feel free to impl. GLAnimatorCtrl and attach
it to your GLAutoDrawable of your choice.
~Sven