What’s the current status regarding disabling backround erase in GLCanvas?
When I run my JOGL program in a Linux X11 environment with JDK 1.6.0, I get terrible flicker during window resize. The problem does not occur under windows. I know it’s something at the Java level causing the flicker (and not X or the video driver), because I can change the flicker color with GLCanvas.setBackground(). I tried -Dsun.awt.noerasebackground=true to no avail.
I’ve looked at the source for GLCanvas, where it appears to use reflection to find a disableBackgroundErase() method in the Toolkit. When I run my JOGL program on Linux, GLCanvas.getToolkit() returns an instance of sun.awt.X11.XToolkit, which has no such method as far as I can tell.
The bug parade 6333613 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6333613 indicates state: Closed, fixed.