Login  Register

Re: NEWT blinking on macOS when resizing

Posted by xor on Jan 01, 2020; 5:20pm
URL: https://forum.jogamp.org/NEWT-blinking-on-macOS-when-resizing-tp4040200p4040222.html

Thanks for taking a look at this “bug”.

I think the pausing while resizing is the best trade off giving current conditions.

However there are two technical difficulties,

yes we could define pointer press as resize begin, and pointer release as resize end, but currently there’s no way in NEWT’s event to know that.

And, when VSync is on, it seems that when the first resize event arrives, the rendering context is still owned by the thread blocking on swap buffers, so even animation is paused afterwards, it will experience a short flickering during the first resize event.