Login  Register

Re: requested graphics configuration

Posted by runiter on Jan 17, 2013; 6:54pm
URL: https://forum.jogamp.org/requested-graphics-configuration-tp4027845p4027903.html

I noticed a strange behavior with debug printout of DefaultGLCapabilitiesChooser.

I noticed with depth of 24 or below, I no longer get the debug printout of DefaultGLCapabilitiesChooser. It seem to be fine with depth of 25 and above though.

For example with the following I get the debug output:
final DisplaySettings settings = new DisplaySettings(400, 300, 32, 0, 0, 25, 0, 4, false, false);

But not with this configuration:
final DisplaySettings settings = new DisplaySettings(400, 300, 32, 0, 0, 25, 0, 4, false, false);

I looked at DefaultGLCapabilitiesChooser.java and couldn't find any code that could cause this, so it appears that the method DefaultGLCapabilitiesChooser.chooseCapabilities() is not called at all when Depth bit falls below 25bits.

Is this a bug?
Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D