linebender / piet

An abstraction for 2D graphics.
Apache License 2.0
1.24k stars 93 forks source link

Support Blend2D as an additional backend? #510

Open dumblob opened 2 years ago

dumblob commented 2 years ago

Blend2D is an innovative 2D library built around the idea of JITting the 2D drawing operations with cool optimization tricks. Despite it not having any regular releases yet (the last is probably years old), the repo master has unprecedented stability (subjectively stabler than Cairo releases). Blend2D also has some SVG support.

Hereby I would like to propose adding support for Blend2D to piet to allow apps reaching much lower latencies and significantly higher fps than with other backends.

Any thoughts?

cmyr commented 2 years ago

If you are interested in doing an implementation, I would be happy to have this in the repo has an alternative backend, but I can't commit any time to doing an implementation myself. If you're unaware, our own answer to the performance question is ultimately piet-gpu, a new gpu-based 2D renderer. :)