Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2020 22:33:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 243677] www/webkit2-gtk3: make WPE renderer optional (disabled by default, as it's unreliable)
Message-ID:  <bug-243677-6497-gTNDs0eojE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-243677-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-243677-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243677

--- Comment #4 from Greg V <greg@unrelenting.technology> ---
My patch for fixing the renderer =E2=80=94 still waiting for upstream react=
ion, but
this makes everything work for me. (the eglmesaext is just for building with
mesa-dev, this has already been done upstream, the real part is the zero)

diff --git c/www/wpebackend-fdo/files/patch-src_ws.cpp
i/www/wpebackend-fdo/files/patch-src_ws.cpp
new file mode 100644
index 000000000000..26125a314f4c
--- /dev/null
+++ i/www/wpebackend-fdo/files/patch-src_ws.cpp
@@ -0,0 +1,19 @@
+--- src/ws.cpp.orig    2020-01-29 22:15:53 UTC
++++ src/ws.cpp
+@@ -27,6 +27,7 @@
+=20
+ #include <EGL/egl.h>
+ #include <EGL/eglext.h>
++#include <EGL/eglmesaext.h>
+ #include "linux-dmabuf/linux-dmabuf.h"
+ #include "bridge/wpe-bridge-server-protocol.h"
+ #include <cassert>
+@@ -111,7 +112,7 @@ GSourceFuncs ServerSource::s_sourceFuncs =3D {
+=20
+         if (source.pfd.revents & G_IO_IN) {
+             struct wl_event_loop* eventLoop =3D
wl_display_get_event_loop(source.display);
+-            wl_event_loop_dispatch(eventLoop, -1);
++            wl_event_loop_dispatch(eventLoop, 0);
+             wl_display_flush_clients(source.display);
+         }
+

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243677-6497-gTNDs0eojE>