Live data from Hacker News

WebKit switching to Skia for 2d graphics rendering

blogs.igalia.com

131–140 of 181 posts

Re: WebKit switching to Skia for 2d graphics rendering

#132
FFS why are the fonts so small?

Why do I have to increase the font size 150% to read it comfortably?

How can we trust a browser created by developers who seem incapable of creating readable web pages?

They should be capable of dogfooding their own output on the most basic level.

Re: WebKit switching to Skia for 2d graphics rendering

#133
post #131

The title should probably be "WebKit *on non-Apple platforms* switching to Skia..."

Wait there is still any WebKit on non-Apple platform?

WebKit is probably the most common embedded engine. From game consoles to kitchen appliances.

Re: WebKit switching to Skia for 2d graphics rendering

#134
post #119

Earlier quoted context omitted.

What happened to Cairo the 2d graphics tool?

Cairo is in a maintenance-only mode. Nobody develops this library anymore and it only has a maintainer or two. Since nobody really worked on Cairo in the past 15 years it's not optimized for modern hardware. You can see some existing benchmarks here: - https://blend2d.com/performance.html Both the benchmarking tool and Blend2D are open-source projects so anyone can verify the numbers presented are indeed correct, and…

> Cairo is in a maintenance-only mode.

That's too bad. Is their a successor planned or is Skia the recommended alternative?

Re: WebKit switching to Skia for 2d graphics rendering

#135

Somewhat connected question, what is WPE? It’s something that got abstracted out of WebkitGTK, right? Is it a standalone port itself, or is it more like the framework to build a highly specialized one? I’ve seen at least in past versions that libwpe is an optional dependency of WebkitGTK, so they didn’t like abstract and then rebase it on the new component. Or is libwpe separate from WPE?

You could describe WPE as WebKitGTK but you bring your own GTK.

GTK is sometimes inappropriate for embedded devices that have a unique display stack. Using WPE brings in minimal dependencies and can render to anything you desire.

libwpe is just used for some basic code sharing between the two, GTK is not based on WPE.

Re: WebKit switching to Skia for 2d graphics rendering

#136

Earlier quoted context omitted.

> I wish WebKit was [...] in the MDN compatibility list Are the capabilities substantially different from Apple webkit?

The majority of web features are the same, though some do require some platform specific work. There are a few big differences like WebRTC support isn't in WebKitGTK releases.

> There are a few big differences like WebRTC support isn't in WebKitGTK releases.

Ah, thanks—I can see how that's the kind of thing you would want to see in a compatibility table!

Re: WebKit switching to Skia for 2d graphics rendering

#137
post #102

Earlier quoted context omitted.

> I wish there was a nice and small vector graphics library with GPU acceleration. https://github.com/linebender/vello is written in Rust and already used as the backend for Xilem, a reactive framework for native UI.

Vello is used in Skia https://skia.googlesource.com/skia/+/2e551697dc56/third_part...

Disclaimer: I work on Vello[0], but not on the Skia integration directly

My understanding, having not dug into it too much, is that the Skia integration does exist, but isn't enabled by default/any clients at the moment. That is, I don't know that this integration is shipping anywhere.

Vello still has some definite rough edges at the moment, so I'm not sure I'd recommend using it in a production application at the moment. We also don't have a C API, which might rule it out for some cases where you'd be considering Skia.

[0]: https://linebender.org/blog/xilem-2024/

Re: WebKit switching to Skia for 2d graphics rendering

#138

Earlier quoted context omitted.

Thanks for the article, I never heard of them. Since they are apparently "powerful" enough to decide major direction of WebKit development as evidenced by OP's article, what exactly is their relationship with Apple in this regard? Like who has the final say and who do the day-to-day decisions? I'm always curious about the politics and power structure/dynamics of these major open source projects, especially the ones b…

To be clear WebKit is made up of multiple ports. These ports are maintained by their own groups and Igalia maintains WebKitGTK/WPE where this change is happening. It does not affect the Apple ports of WebKit. To answer your question though. WebKit is Apple's project and they do the majority of contributions. Igalia is the second largest contributor and collaborates with Apple regularly. Within the GTK/WPE ports Igali…

Ah thanks, that clears it up.

Re: WebKit switching to Skia for 2d graphics rendering

#139
post #131

Earlier quoted context omitted.

Wait there is still any WebKit on non-Apple platform?

WebKit is probably the most common embedded engine. From game consoles to kitchen appliances.

yep. I used to develop web applications for smart televisions and we just targeted webkit
Post reply on HN