Here's Pathfinder rendering a port of the NanoVG demo, showing off its new support for HTML canvas features: https://github.com/servo/pathfinder/blob/master/examples/canvas_nanovg/src/main.rs … (Most of the rendering time goes to Gaussian blurs which have to be spec compliant in Pathfinder, unfortunately…)pic.twitter.com/P8SAZTw55A
-
Show this thread
-
Replying to @pcwalton
This is super cool but just out of curiosity how is the perf compared to CPU rendering here?
1 reply 0 retweets 0 likes -
-
-
Replying to @Gok
Biggest CPU time problem is font issues: calling CTFontCreatePathForGlyph() every frame for every glyph. No caching yet. Biggest GPU time problem is Gaussian blurs.
2 replies 0 retweets 1 like -
Are you aware of this method? https://www.mia.uni-saarland.de/Publications/gwosdek-ssvm11.pdf … It produces true Gaussian blur with constant speed relative to the blur radius. One of the implementations: https://python-pillow.org/pillow-perf/#blur …
1 reply 0 retweets 0 likes -
Replying to @wouldntfix @Gok
Looks like that’s a sequential only technique, not good for GPU.
1 reply 0 retweets 0 likes -
I believe it will beat any other implementations starting from some radius. At least all rows or columns could be computed concurrently.
1 reply 0 retweets 0 likes
I don’t see how that’s possible without compute shader which I can’t rely on.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.