[Bug 243677] www/webkit2-gtk3: make WPE renderer optional (disabled by default, as it's unreliable)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 29 22:33:33 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243677
--- Comment #4 from Greg V <greg at unrelenting.technology> ---
My patch for fixing the renderer — still waiting for upstream reaction, 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 @@
+
+ #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 = {
+
+ if (source.pfd.revents & G_IO_IN) {
+ struct wl_event_loop* eventLoop =
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);
+ }
+
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gnome
mailing list