WebKitGTK+ Being Ported To Wayland

Written by Michael Larabel in Free Software on 8 July 2013 at 11:16 AM EDT. 8 Comments
FREE SOFTWARE
Developers at the Igalia open-source consulting firm are currently working on porting WebKitGTK+ / WebKit2 to Wayland.

WebKitGTK+ is the version of the WebKit rendering engine deployed by numerous GNOME applications. Developers at Igalia have been porting this GNOME WebKit port to work on Wayland rather than just X11, but they have hit an issue along the way.

With WebKit2 there's a multi-process architecture where by two processes are rendering the web-page. This multi-process architecture works in X11 by using an offscreen XWindow and then using XComposite to push it to a pixmap and paint it to the screen. However, Igalia developers were unable to figure out how to share a Wayland surface between two processes to achieve the same multi-process rendering support.

Unable to achieve the multi-process rendering, Iago Toral of Igalia explained their work on the Wayland developers' list.

Fortunately, there is a way to obtain multi-process rendering, as was pointed out, and that's through nested compositing. Nested compositing is possible with the current state of Wayland, but lacking is an EGL Wayland API for providing buffers from a nested client to the host client surface without needing to be drawed an additional time.

Hopefully this WebKitGTK+ port to Wayland will come to fruition as it will help the GNOME desktop in being ported to this X11 and Mir alternative.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week