Login  Register

Re: requested graphics configuration

Posted by gouessej on Jan 16, 2013; 6:40am
URL: https://forum.jogamp.org/requested-graphics-configuration-tp4027845p4027856.html

runiter wrote
The only reference to DisplaySettings.getColorDepth() occurs at the following method:

JoglCanvas.privateInit()

But the above method is never called if your use JoglAwtCanvas. So basically in my swing applications my preferred ColorDepth settings seem to be completely ignored by Jogl. Is this a bug or is it by design?
It's called in CapsUtil.getCapsForSettings() but if you want to set the depth bits of the z buffer, rather use the parameter "_depthBits" (as you already do).
Julien Gouesse | Personal blog | Website