Skip to main content
Associate III
July 24, 2026
Question

Trying to build a web browser with WPE WebKit that runs on the GPU

  • July 24, 2026
  • 0 replies
  • 8 views

WebKit is now releasing a new upgrade for their WPE WebKit API so the web browser can run on the GPU instead of CPU.

Here is what the WPE WebKit Dev Team is writing:

In any case, try the new WPEPlatform API (https://wpewebkit.org/) instead of Cog, and that suggestion still stands. Cog is currently at the end of its lifetime and won't see more stable versions, as we are fully focused on this new API that will not only make integration much simpler but will also allow making the most of more modern features like dmabuf, which enables zero-copy buffer sharing both at the graphics and multimedia layers of WPE, therefore increasing performance, stability and smoothness.

Now, while the new WPEPlatform API will be released as stable in September, it's still fairly mature and you can already try it out with ToT or with the latest unstable releases, as well with the latest stable release (2.52.3). See some links to the API docs below:

https://wpewebkit.org/reference/unstable
https://wpewebkit.org/reference/2.53.1
https://wpewebkit.org/reference/2.52.3

Meta layer:

https://github.com/Igalia/meta-webkit

 

That means that the kiosk web browser Cog is going to go EOF. 

My questions in this conversation are:

If I want to try this new WPE WebKit API on the STM32MP257. What libraries for the hardware for STM32MP257 do I need to be aware of? I’m not assuming that I could just compile this and run it just like that. I need to specify some compile flags too.

Any suggestions?

I’m aware of how to build WPE WebKit meta-layer (https://github.com/Igalia/meta-webkit) in Yocto by following the instructions for:

But as you can see, they are using a different hardware names for the compile flags.