[Webkit-unassigned] [Bug 163333] New: Prefer eglGetPlatformDisplay to eglGetDisplay

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 08:59:58 PDT 2016


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

            Bug ID: 163333
           Summary: Prefer eglGetPlatformDisplay to eglGetDisplay
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ajax at redhat.com

Created attachment 291358
  --> https://bugs.webkit.org/attachment.cgi?id=291358&action=review
eglGetPlatformDisplay.patch

eglGetDisplay forces the implementation to guess what kind of void* it's been handed. Different implementations do different things, in particular glvnd and Mesa behave differently.

Fortunately there exists API to tell EGL what kind of display it is, so let's use it. Patch is against webkitgtk since that's where I hit this first. Probably this should be made a single utility function somewhere instead, but I don't know the webkit source well enough to know where to put it.

-- 
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/20161012/7a0ee202/attachment.html>


More information about the webkit-unassigned mailing list