[Webkit-unassigned] [Bug 181986] New: [CMake][GTK] OpenGL support should be disabled if only EGL is found

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 23 07:18:51 PST 2018


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

            Bug ID: 181986
           Summary: [CMake][GTK] OpenGL support should be disabled if only
                    EGL is found
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: lforschler at apple.com

If a system has an EGL implementation, but it's not possible to find
a libGL, libGLES, or libepoxy, then CMake should disable all the WebKit
features which depend on OpenGL.

Currently, if EGL is found but OpenGL is not, it's assumed that plain
OpenGL is being used, which can result in a build error due to the
<GL/gl.h> header not being available. You can see this in the following
Buildroot compilation log:

  http://autobuild.buildroot.net/results/57b77520d3a3fcfa683406e223771d0ccf8733df/

If you check the “config” file, you will notice that EGL is indeed
enabled (BR2_PACKAGE_HAS_LIBEGL=y) but neither OpenGL nor GLES are
(both BR2_PACKAGE_HAS_LIBGL and BR2_PACKAGE_HAS_LIBGLES are undefined)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180123/c003683b/attachment-0001.html>


More information about the webkit-unassigned mailing list