[Webkit-unassigned] [Bug 225563] [GTK][WPE][WebGL2] compilation fixes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 11 12:04:58 PDT 2021


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

--- Comment #4 from Matt Turner <mattst88 at gmail.com> ---
Thanks for the comments, all!

I see the following in Source/cmake/OptionsGTK.cmake:

# Private options specific to the GTK port. Changing these options is
# completely unsupported. They are intended for use only by WebKit developers.
WEBKIT_OPTION_DEFINE(USE_ANGLE_WEBGL "Whether to use ANGLE as WebGL backend." PRIVATE OFF)

That seems to suggest that I should not ship WebKit with DUSE_ANGLE_WEBGL=ON to Gentoo Linux users? (I'm the Gentoo Linux packager) And by implication I shouldn't enable WebGL2 either?

Building with -DUSE_ANGLE_WEBGL=ON, I get undefined references when linking lib/libGLESv2.so:

> lib/libANGLE.a(lib/../Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/Display.cpp.o):Display.cpp:function egl::Display::GetDisplayFromNativeDisplay(_XDisplay*, egl::AttributeMap const&): error: undefined reference to 'rx::DisplayGLX::DisplayGLX(egl::DisplayState const&)'                                                                                                                                             
> lib/libANGLE.a(lib/../Source/ThirdParty/ANGLE/CMakeFiles/ANGLE.dir/src/libANGLE/Display.cpp.o):Display.cpp:function egl::Display::GetDisplayFromNativeDisplay(_XDisplay*, egl::AttributeMap const&): error: undefined reference to 'rx::DisplayEGL::DisplayEGL(egl::DisplayState const&)'                                                                                                                                             

and indeed I can't find DisplayEGL.cpp or DisplayGLX.cpp (which contain those definitions) listed in any CMakeLists.txt or *.cmake. So maybe this isn't wired up?

I'm happy to leave WebGL2 disabled; I just need guidance on what's expected to work.

-- 
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/20210511/2ae3b863/attachment-0001.htm>


More information about the webkit-unassigned mailing list