Hacker News new | past | comments | ask | show | jobs | submit login

I didn't know about the devtools protocol snapshots, pretty cool! I takes ~5 ms to generate an SVG for google.com (not including loading the page).

For your use-case I'd recommend doing something similar but using the SkPicture structure instead. It would cut the conversion overhead, should support every Skia features, and with some tuning it would allow you to efficiently split bitmaps from vectors (allowing you to send the bitmaps once, and only vector changes after that).

Something I like about using Skia for this use-case is that it allows for zero-latency scrolling.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: