Flickering when resizing gl windows

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Flickering when resizing gl windows

Paul Alesius
Hi

When resizing a GL window I see lots of flickering, is there any way to create a GL window that can be resized smoothly without flickering?

Thnx.
Kam
Reply | Threaded
Open this post in threaded view
|

Re: Flickering when resizing gl windows

Kam
Try to pass -Dsun.awt.noerasebackground=true to the VM.
Your window won't be erased to background color before beeing repaint. It should be enough to prevent flickering. (worked for me).
Reply | Threaded
Open this post in threaded view
|

Re: Flickering when resizing gl windows

Paul Alesius
Thank you!
Reply | Threaded
Open this post in threaded view
|

Re: Flickering when resizing gl windows

taifunbrowser
Oh my! That's really great!

Now how to figure what's actually going on with that option, so that I can get it without having to pass a system parameter (for online applets)