---- Reported by kcr 2006-08-14 10:18:07 ---- There is a bug in the X11GLDrawableFactory.glCapabilities2AttribList method that prevents an app from selecting a single-buffered visual on X11 platforms. That method treats GLX_DOUBLEBUFFER as if it were an attribute that takes a boolean parameter, which is incorrect for glXChooseVisual. The GLX_DOUBLEBUFFER attribute takes no parameter, rather its presence indicates that a double buffered visual should be selected. This bug causes two problems. First, if a single-buffered visual is requested, the request will not be honored. Second, the "false" value will be interpreted as "None" causing all subsequent attributes to be ignored. ---- Additional Comments From kcr 2006-08-14 10:21:22 ---- Btw, you need to be careful when fixing this bug if the output of this method is ever used by glXFBConfig, which *does* treat GLX_DOUBLEBUFFER as a boolean attribute that takes a parameter. ---- Additional Comments From kcr 2006-08-14 10:25:00 ---- One more thing. The GLX_STEREO attribute is being set correctly for glXChooseVisual and, as such, is currently incorrect when used by glXFBConfig. In other words, it has the opposite problem of GLX_DOUBLEBUFFER. ---- Additional Comments From kbr 2006-08-14 11:43:53 ---- Fixed GLX_DOUBLEBUFFER and GLX_STEREO specifications for both on-screen and pbuffer visuals as per suggestion. ---- Additional Comments From kbr 2007-04-19 20:29:59 ---- *** Issue 295 has been marked as a duplicate of this issue. *** --- Bug imported by sgothel@jausoft.com 2010-03-24 07:49 EDT --- This bug was previously known as _bug_ 242 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=242 Unknown bug field "has_duplicates" encountered while moving bug <has_duplicates> <bug_id>295</bug_id> <who>kbr</who> <when>2007-04-19 20:30:00</when> </has_duplicates>