canvas: Use vello_cpu as default canvas backend (#38844)

We really want to remove font-kit from dep tree, so this is the first
step into removing raqote from servo. While vello_cpu is not perfect
replacement, I am confident that we will resolve all issues eventually:
https://github.com/servo/servo/issues/38345 (most important ones already
have PRs).

Reviewable per commit.

Testing: Existing WPT tests.
Try run: https://github.com/sagudev/servo/actions/runs/17138369290

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
Sam 2025-08-27 09:22:20 +02:00 committed by GitHub
parent e126f09b25
commit 3dc9184121
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
109 changed files with 193 additions and 202 deletions

View file

@ -1,5 +1,3 @@
[2d.path.arc.scale.1.html]
[Non-uniformly scaled arcs are the right shape]
expected:
if subsuite == "vello_canvas": FAIL
if subsuite == "vello_cpu_canvas": FAIL
expected: FAIL

View file

@ -1,4 +0,0 @@
[2d.path.arc.scale.2.html]
[Highly scaled arcs are the right shape]
expected:
if subsuite == "": FAIL

View file

@ -1,4 +0,0 @@
[2d.path.arc.selfintersect.1.html]
[arc() with lineWidth > 2*radius is drawn sensibly]
expected:
if subsuite == "": FAIL

View file

@ -1,4 +0,0 @@
[2d.path.arc.selfintersect.2.html]
[arc() with lineWidth > 2*radius is drawn sensibly]
expected:
if subsuite == "": FAIL

View file

@ -1,4 +0,0 @@
[2d.path.arc.shape.3.html]
[arc() from 0 to -pi/2 does not draw anything in the wrong quadrant]
expected:
if subsuite == "": FAIL

View file

@ -1,4 +0,0 @@
[2d.path.arc.shape.4.html]
[arc() from 0 to -pi/2 draws stuff in the right quadrant]
expected:
if subsuite == "": FAIL

View file

@ -1,6 +1,4 @@
[2d.path.rect.selfintersect.html]
[Canvas test: 2d.path.rect.selfintersect]
bug: https://github.com/linebender/vello/issues/1063 #issuecomment-2998084736
expected:
if subsuite == "vello_canvas": FAIL
if subsuite == "vello_cpu_canvas": FAIL
expected: FAIL

View file

@ -1,5 +1,3 @@
[2d.path.stroke.scale2.html]
[Stroke line widths are scaled by the current transformation matrix]
expected:
if subsuite == "vello_canvas": FAIL
if subsuite == "vello_cpu_canvas": FAIL
expected: FAIL