[webkit-gtk] Building with wayland requires GLX for opengl support ?
Quentin SCHIBLER
quentin.schibler at bbox.fr
Thu Mar 11 14:38:56 PST 2021
You can have an opengl build of mesa without glx, but the installed opengl library is called libELG.so instead of the traditional libGL.so created by glx. And it causes pkgconf to fail.
Maybe I can symlink libEGL.so to libGL.so ? I will try that tomorrowOn Mar 11, 2021 8:34 PM, Carlos Alberto Lopez Perez <clopez at igalia.com> wrote:
>
> On 11/03/2021 09:37, Quentin SCHIBLER wrote:
> > When building with wayland as target, and opengl enabled, the build fails because pkgconf don't find the gl package. But the gl package is only installed with mesa when using glx, and I use egl.
> > This is with lastest stable gtk+3 and webkitgtk.
> > Thanks for your help !
>
>
> That seems an issue with your distro.
> AFAIK it is perfectly possible to have a build of Mesa with OpenGL
> enabled (full desktop GL) but without GLX enabled.
>
> Since you comment that in your configuration you don't have gl, I guess
> you are actually using glesv2 instead of gl.
>
> WebKitGTK defaults to gl, but you can build with glesv2 by passing this
> flag to cmake when building: "-DENABLE_GLES2=ON"
>
>
> Hope this helps.
More information about the webkit-gtk
mailing list