Hacker News new | ask | show | jobs
by mort96 854 days ago
Why would they? The API they (WebKit) are providing is the Canvas API, the fact that they're using Skia behind the scenes is an implementation detail... I don't see why they would go through the trouble of maintaining a stable C API for internal use in a C++ project?
1 comments

Maybe so they could use newer versions of skia
This assumes that maintaining a stable C interface to Skia, and then writing the WebKit rendering code against that C interface, is easier than maintaining WebKit rendering code which calls Skia's C++ interface directly. I'm not convinced that that's the case.

At the very least, the stable interface should probably be C++, mapping between C and C++ is often non-trivial...