From: <bug...@fr...> - 2009-06-30 20:32:28
|
http://bugs.freedesktop.org/show_bug.cgi?id=22561 Summary: Some GLX_SGIX_fbconfig functions improperly check direct extensions available when using indirect rendering Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: GLX AssignedTo: mes...@li... ReportedBy: jon...@dr... Created an attachment (id=27273) --> (http://bugs.freedesktop.org/attachment.cgi?id=27273) Patch which (incorrectly) removes the problematic calls to __glXExtensionBitIsEnabled() I'm using a Cygwin/X X server (which I'm writing some code for), which announces GLX version 1.2 and the GLX_SGIX_fbconfig extension Indirect rendering is forced for the client using LIBGL_ALWAYS_INDIRECT glxgears_fbconfig demo fails due to glXCreateContextWithConfigSGIX failing. The cause of this seems to be that the mesa implementation of glXGetFBConfigFromVisualSGIX() uses __glXExtensionBitIsEnabled() to check if the GLX_SGIX_fbconfig extension is available, but that function only checks if the extension is supported for direct rendering. Nothing else apart from these 3 functions from GLX_SGIX_fbconfig seems to use __glXExtensionBitIsEnabled, so I'm not sure exactly what the bug is here, or what the solution is. Attached is a patch which removes those checks, and allows glxgears_fbconfig to run successfully, but that's probably incorrect for the direct path. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. |