Skip to content

Use Pathfinder for 2d canvas rendering #22957

@jdm

Description

@jdm

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-content/canvas2d canvas APIB-high-valueRepresents work that would have a big impactB-interesting-projectRepresents work that is expected to be interesting in some fashionE-very-complexVery difficult. Do not attempt without significant relevant experience and motivation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions