Linked by Thom Holwerda on Sat 6th Sep 2008 19:56 UTC, submitted by KAMiKAZOW
Internet & Networking

The WebKit team is currently busy, integrating the patches made for Google Chrome into the main WebKit repository. This includes the new V8 JavaScript engine and the Skia graphics library. Most integration work is done by Google employee and WebKit reviewer Eric Seidel. V8 is a fast, BSD licensed JavaScript engine that runs on 32bit x86 and ARM CPUs. Due that platform restriction, V8 probably won't replace WebKit's new SquirrelFish engine anytime soon as default, because SquirrelFish has broader CPU architecture support. Epiphany developer and WebKit reviewer Alp Toker gives an overview about Skia. Unlike V8, Skia is licensed under the Apache License 2.0. Some of Skia's main features are optional OpenGL-based acceleration, thread-safety, 10,000 less lines of code compared to Cairo, and high portability.

Permalink for comment 329462
To read all comments associated with this story, please click here.
by baadger on Sat 6th Sep 2008 20:22 UTC
Member since:

It'll be interesting to see if Skia shows any advantages over Cairo.

It has been shown that 2D drawing using current OpenGL implementations, although fast, create results which generally aren't very high quality or even consistent across OpenGL capable drivers and/or hardware.

Also, although I haven't checked, I thought Cairo was already thread-safe to the degree that two threads can operate on two different surfaces simultaneously?

As for code size, I don't see the point of comparing it. Cairo is a *mature* API and ABI stable *library* and shouldn't be imported into the Chrome tree anyway. The app should be using the system Cairo library, which will certainly be present on most modern Linux/Free desktops or installed automatically by your package manager.

Edited 2008-09-06 20:38 UTC

Reply Score: 3