Re: NEWT blinking on macOS when resizing
Posted by Sven Gothel on Jan 01, 2020; 7:14pm
URL: https://forum.jogamp.org/NEWT-blinking-on-macOS-when-resizing-tp4040200p4040225.html
On 1/1/20 6:30 PM, xor [via jogamp] wrote:
> I’ve dig into jogl swap buffers implementation on macOS, it seems that VSync
> is disabled deliberately for 10 frames when resizing, maybe flickering is a
> side effect.
>
> My experiments shows that the flickering is actually when you don’t paint the
> window in time, and at which point macOS composers shows default color. But
> that time may happen after swap buffers, making previous VSync’ed paint in vain.
>
> Just guess.
Makes very much sense, yes.
The MacOS code path for AWT FBO offscreen is probably the biggest PIA
within JOGL indeed.
If you are up to this task, let's make our dialog and findings
persistent via bugzilla (PM me) - copy all this here to a new
bug entry for MacOS, which is related to Bug 1361.
Then we can both tackle it, which I would prefer.
~Sven