[wpe-webkit] Using WebKitWPE in an existing GMainLoop/Wayland render loop
Adrian Perez de Castro
aperez at igalia.com
Mon May 6 08:34:09 PDT 2019
On Sun, 05 May 2019 18:47:39 -0400, Ryan Walklin <ryan at testtoast.com> wrote:
> Just as an update I've been able to get this working with Swift on Fedora 30
> and rendering into a Wayland window via EGL.
> I'll post the code and a link to GH once it's tidied up, but if anyone is
> interested in the details please let me know.
Wow, that would be the first ever application we know about written in Swift
that uses WPE, which is really cool! :)
Side note: I have not been following Swift much, and I am just learning now
that it has been made to work well on GNU/Linux already a good while ago.
I wonder how complicated it may have been to use WPE's GLib-based API in
Swift — is there any particular pain point that you might remember and which
could have used a better API on the WPE WebKit side?
> I've also been able to get HiDPI support working nicely, as per the comment
> here - https://bugs.webkit.org/show_bug.cgi?id=185764#c12. It requires a
> small libwpe patch also
> (https://github.com/WebPlatformForEmbedded/libwpe/pull/44). This would be
> trivial to add to Cog etc also.
Thanks a lot for commenting on the WebKit bug and sending the PR for Cog, it
is very appreciated. I think there are good chances of having the support for
setting the scaling factor merged.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 195 bytes
Desc: not available
More information about the webkit-wpe