Conversation
|
Well this is an interesting addition. Are there advantages over AGG? |
|
@sdlime I have reason to believe Skia can significantly outperform AGG. |
|
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. |
|
@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. |
|
@pelord , could you clarify what you want to say? |
|
removing the 8.2.0 milestone label due to recent discussion. |
|
@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 ;) |
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? |
|
@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. |

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