Files
servo/tests
Martin Robinson bf452331b1 Remove the vello_cpu compilation option and enable it by default (#41820)
There is currently no way to disable canvas on the whole in Servo, so
one canvas backend must be enabled for the build to succeed. Currently,
the Vello GPU backend is much slower than the CPU backend, as it
downloads pixels to CPU memory before reuploading them and displaying
them. Fixing that requires allowing rendering Vello GPU contents to a
OpenGL texture or some kind of surface that can be represented by an
OpenGL texture during display.

Historically, the approach that other browsers have taken with regard to
GPU canvas is that CPU canvas is used as a fallback until the GPU
version can be counted on to be reliably faster. I think that Servo
should take the same approach. We should always expose a CPU version of
canvas and a GPU version. Embedders should not care about how these are
implemented, just that they work as expected and perform well.

Testing: This change just adjusts the build configuration option, so no
tests are necessary.
Fixes: #40779

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2026-01-12 22:42:14 +00:00
..