2 ms·
> Recently, an experimental SVG back-end has been added to Skia. That's curious. Anyone know why?
by jancsika 4y ago
> Recently, an experimental SVG back-end has been added to Skia.
That's curious.
Anyone know why?
- return_to_monke 4y agoWhile I am not a skia person, an use case I could imagine is (flutter) web apps. Flutter currently has 2 ways to run something on the web: 1. CanvasKit. Primarily, this uses webgl. Though, the app has to download a kind of webGl runtime on the first launch, iirc. If the browser does not support openGl, it will use Skia with a Canvas frontend, leading to blurry and poor performance results 2. webRender. This is flutter's way of trying to make a HTML DOM, but its not that great either. It's inconsistent with the rest of the flutter implementations, and has performance issues because it's not really mature/optimized and has a virtual Dom. I think an exciting use case would be something like 1. Instead of the blurry image and bad performance of canvas redrawing, it might try to manipulate an SVG in the browser. This is pure speculation tho, correct me if I'm wrong.
- TheRealPomax 4y agoCalling it "recently" is a bit of a misnomer. The "experimental/svg/model/..." content was added almost five years ago.
- fathyb 4y agoAh I assumed it was recent, but didn't check. It's fixed now, thanks!