Login  Register

Re: Resize flickering with AWT GLCanvas and JOGL 2.4.0

Posted by Celine on Feb 15, 2023; 5:34pm
URL: https://forum.jogamp.org/Resize-flickering-with-AWT-GLCanvas-and-JOGL-2-4-0-tp4042181p4042185.html

Forget about the animator, just lauch the example after removing the line "frame.setResizable(false);", you will see a flickering when canvas is resized. I did the test on the same machine with the same JDK just switching between JOGL 2.3.2 and 2.4.0.
I did a test on Ubuntu 20.04 with the same OpenJDK 11, the flickering occurs with both 2.3.2 and 2.4.0. So it seems that it's a regression only on Windows platform.
In all cases, setting the "sun.awt.noerasebackground" property solves this issue.