[Webkit-unassigned] [Bug 165200] New: [GTK] GLXBadFBConfig error when creating an OpenGL context

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 30 08:44:59 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=165200

            Bug ID: 165200
           Summary: [GTK] GLXBadFBConfig error when creating an OpenGL
                    context
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: magomez at igalia.com
                CC: bugs-noreply at webkitgtk.org

When the OpenGL extension GLX_ARB_create_context is available, we use it to request a gl context with version 3.2. If the returned context is null, we fall back to use glXCreateContext and get whatever version is available.

But when using the extension, if the OpenGL version is lower than 3.2, not only glXCreateContextAttribsARB returns null, but it also throws a GLXBadFBConfig X error that causes the app to crash instead falling back to the legacy code. We need to handle this GLXBadFBConfig error.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161130/8ba75f7e/attachment.html>


More information about the webkit-unassigned mailing list