Login  Register

Re: Windows firing GLAutoDrawable.display() events?

Posted by Sven Gothel on Apr 03, 2012; 11:21pm
URL: https://forum.jogamp.org/Windows-firing-GLAutoDrawable-display-events-tp3878485p3882708.html

On 04/02/2012 07:57 PM, Mike [via jogamp] wrote:
>
>
> Hey guys,
>
> When in windowed mode, if i drag and drop my window it seems like my
> GLAutoDrawable.display() is getting fired. Is this expected behavior, and is
> there any way i can prevent this from happening?

this is the expected behavior, since the native windowing system
sends 'repaint' and we don't hold a copy of the window content.

if you animate something etc, you cannot rely on sequence of frames,
but only on time itself.

~Sven

>
> Thanks,
> Mike


signature.asc (910 bytes) Download Attachment