Live data from Hacker News

WebKit switching to Skia for 2d graphics rendering

blogs.igalia.com

161–170 of 181 posts

Re: WebKit switching to Skia for 2d graphics rendering

#161

Awesome! Glad to see skia is finding uses in places other than fuschia

Note that skia is only ever used on fuchsia for flutter. It shares that dependency on skia for all platforms it targets (which haven't otherwise been migrated to impeller).

I guess it won't be used any more since, as discussed elsewhere in the comments, Flutter has moved from Skia to Impeller.

Re: WebKit switching to Skia for 2d graphics rendering

#162
post #61

Earlier quoted context omitted.

I have an open source project that uses Skia, and I just keep static libraries for all target platforms because the Skia build process is so painful. Maybe once a year I bite the bullet, do a new Skia build on all the platforms, and then I have to figure out how the C++ API has changed. At least that’s just rote work of fixing compiler errors by looking at the new header files. Even though it’s a pain in the ass, I s…

Have you considered Blend2D? It's much easier to build, and performance is on par with Skia.

I thought Blend2D was a CPU-only library. Skia offers hardware acceleration via the GPU.

Re: WebKit switching to Skia for 2d graphics rendering

#164

Couple things I've seen in this space looking around the past couple weeks... Flutter made a different engine called Impeller[0] which is replacing Skia. Which is a bit surprising as an ignorant outsider. I hope that works out. Rive ( https://rive.app ), is a new animation tool that targets multiple platforms including web and their CEO Guido Rosso gave a great interview on School of Motion[1] about how they are buil…

Upcoming there's also Vello[0][1] by Raph Levien, who has a bunch of experience w/ font rendering at Google. He's also working on a Rust UI library[2] and has a great talk on compute shaders[3].

0: https://www.youtube.com/watch?v=mmW_RbTyj8c

1: https://github.com/linebender/vello

2: https://www.youtube.com/watch?v=zVUTZlNCb8U

3: https://www.youtube.com/watch?v=DZRn_jNZjbw

Re: WebKit switching to Skia for 2d graphics rendering

#166

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.

you know what website you're writing this on?

Re: WebKit switching to Skia for 2d graphics rendering

#169

Skia is a great library, but as all things Google it's a pain to build. They don't use CMake and building it from source takes 20-30 minutes on a modern laptop. Furthermore, it's constantly changing its APIs and much of it is undocumented and unclear on how to use optimally. Most of the decisions taken by development team aren't discussed in the open and this makes it hard to understand the codebase. I wish there was…

> I wish there was a nice and small vector graphics library with GPU acceleration. I'm personally skeptical about GPU acceleration being the answer to 2D rendering for various reasons. I'm looking forward to Blend2D https://blend2d.com/ > which is JIT based maturing and being the preferred solution.

Have you heard about Vello (written in Rust) https://www.youtube.com/watch?v=mmW_RbTyj8c&feature=youtu.be ?
Post reply on HN