-
-
Notifications
You must be signed in to change notification settings - Fork 398
Skia renderer #6574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skia renderer #6574
Conversation
sdlime
commented
Jul 14, 2022
Well this is an interesting addition. Are there advantages over AGG?
bjornharrtell
commented
Jul 14, 2022
@sdlime I have reason to believe Skia can significantly outperform AGG.
When I began on this I didn't know if it would be achievable without too much effort.. but it is now capable of producing:
So I'm motivated to continue. :)
Did some early benchmarking on 3+ million polygon squares. AGG is a lot faster on that case... somewhere 50% - 80% faster. I believe I've compiled Skia with the optimal settings so currently I can't explain this other than that Skia isn't as fast as I had assumed/thought.
sdlime
commented
Jul 14, 2022
Did some early benchmarking on 3+ million polygon squares. AGG is a lot faster on that case... somewhere 50% - 80% faster. I believe I've compiled Skia with the optimal settings so currently I can't explain this other than that Skia isn't as fast as I had assumed/thought.
Still seems like an interesting option as it is maintained and under active development.
jmckenna
commented
Aug 2, 2022
@bjornharrtell I'll do some Windows testing on this this week. I agree with Steve here, the benefits of using a library that is so well maintained can outweigh other limitations.
jratike80
commented
Mar 22, 2024
@pelord , could you clarify what you want to say?
jmckenna
commented
May 6, 2024
removing the 8.2.0 milestone label due to recent discussion.
jmckenna
commented
Sep 30, 2024
@bjornharrtell just letting you know that the next release plan is coming together, for 8.4.0, in case you have time available before the release to tackle this again. See here for the release plan dates.
(judging by the earlier responses you got about this, I'd say that you have something very interesting, potentially, to others ;)
oshawa-connection
commented
Dec 9, 2024
Did some early benchmarking on 3+ million polygon squares. AGG is a lot faster on that case... somewhere 50% - 80% faster. I believe I've compiled Skia with the optimal settings so currently I can't explain this other than that Skia isn't as fast as I had assumed/thought.
Just to add my 0ドル.02. I’ve tried something similar with blend2d graphics library, and I get similar results to you with skia: it’s slower than agg despite all benchmarks saying it’ll be faster.
Consider that most benchmarks are run in programs where the context only has to be setup once as part of a continuously running program, generating several frames as part of some animation.
My theory is that for fast draws of e.g. simple polygons, the overhead of setup of the graphics library context makes the overall render slower than agg. and because CGI that affects all renders. Don’t know if that matches up with what you’ve seen?
bjornharrtell
commented
Dec 14, 2024
@oshawa-connection yeah it could be that the architecture of skia that allows för gpu accel is a disadvantage. That said, I believe they have optimized the software pipeline to great lengths regardless. But I've not dived deep enough to know anything really.
Uh oh!
There was an error while loading. Please reload this page.
Rationale:
Notes:
bin/gn gen out/Static --args='is_official_build=true cc="clang" cxx="clang++" skia_pdf_subset_harfbuzz=false skia_use_libwebp_decode=false skia_use_libwebp_encode=false skia_use_gl=false' is_debug=false