[Webkit-unassigned] [Bug 208907] graphics/GLContext.cpp fails compiling with error: ‘initializeOpenGLShims’ was not declared in this scope; did you mean ‘initializeOpenGLShimsIfNeeded’?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 9 12:43:05 PDT 2020


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

Mart Raudsepp <leio at gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leio at gentoo.org

--- Comment #2 from Mart Raudsepp <leio at gentoo.org> ---
Source/WebCore/platform/graphics/GLContext.cpp is including OpenGLShims.h only if GLX is enabled, but then using the initializeOpenGLShims function in other cases as well. I think the preprocessor conditionals should match better.
As-is, it seems to guarantee a fail for a -DENABLE_X11_TARGET=OFF -DENABLE_OPENGL=ON build that picks OpenGL.

Basically initializeOpenGLShimsIfNeeded seems to think that a EGL+full OpenGL (instead of GLX) doesn't exist or happen, but libepoxy isn't used at all for a webkitgtk build (I guess it might be used in webkit-wpe or something)

-- 
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/20200509/4584d6ca/attachment.htm>


More information about the webkit-unassigned mailing list