-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed as not planned
Labels
A-content/canvas2d canvas API2d canvas APIB-high-valueRepresents work that would have a big impactRepresents work that would have a big impactB-interesting-projectRepresents work that is expected to be interesting in some fashionRepresents work that is expected to be interesting in some fashionE-very-complexVery difficult. Do not attempt without significant relevant experience and motivation.Very difficult. Do not attempt without significant relevant experience and motivation.
Description
Right now our 2d canvas rendering relies on a very old fork of Azure (https://github.com/servo/rust-azure/), which itself relies upon a very old fork of Skia (https://github.com/servo/rust-azure/). The operations that the 2d canvas allows are not complicated and it should be possible to use Pathfinder as the rendering backend instead. This would have several useful results:
- it would remove multiple large C++ codebases from Servo's dependency tree
- it would exercise Pathfinder in a real product
- it would give us hardware acceleration instead of the current software rendering
I'm marking this as "hard" not because I actually believe it will be hard, per se, but it's going to require a bunch of investigation and poking and prodding to understand how to fit Pathfinder into Servo's canvas rendering pipeline. It could be fun, though!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-content/canvas2d canvas API2d canvas APIB-high-valueRepresents work that would have a big impactRepresents work that would have a big impactB-interesting-projectRepresents work that is expected to be interesting in some fashionRepresents work that is expected to be interesting in some fashionE-very-complexVery difficult. Do not attempt without significant relevant experience and motivation.Very difficult. Do not attempt without significant relevant experience and motivation.