Login  Register

Re: Clear status about GLCanvas without animator

Posted by Sven Gothel on Nov 23, 2010; 3:12pm
URL: https://forum.jogamp.org/Clear-status-about-GLCanvas-without-animator-tp1930475p1953908.html

On Tuesday, November 23, 2010 15:48:32 Cyrille [via jogamp] wrote:
>
> Hi,
>
> I tried the code sample above with the latest autobuild I found : jogl-2.0-b229-20101123-windows-i586
>
> It works better, not perfectly though. The canvas displays the scene but when resizing the frame, it still flickers. It randomly ends displaying either the scene or the canvas' component background color.
>
> I do *not* call display() explicitly because I expect the canvas to call it whenever needed (during the repaint operation, for instance). So why does it flicker and display alternately its scene or its background?
>

I remember something like this in regards to GLCanvas,
ie we try to remove the 'background erase', which may not work all the time
on different platforms.

Please follow proper bug reporting:
  http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing

Please read the 'junit test' part carefully, since that guarantees we quickly
can verify this. Sure we need the other information as well.

So I guess, this will become the 'Flickering GLCanvas' bug.
NEWT works fine I assume.

Thank you.

~Sven

> -Cyrille