Files
Keavon ChambersandDennis Kobert d9a80b5c94 Switch rendering to Vello GPU, with the web build now using WebGL2 instead of WebGPU (#4807)
* Switch rendering from Vello's classic compute renderer to Vello GPU

* Render the web build with WebGL2 rather than WebGPU

* Expand each shared geometry's strokes once and skip vector items outside the rendered area

* Create the WebGL2 viewport canvas in the canvas utilities instead of storing it on the wgpu context

* Restrict the raw wgpu surface accessor to wasm

---------

Co-authored-by: Dennis Kobert <[email protected]>
2026-10-25 15:42:24 -07:00

45 lines
1.1 KiB
TOML

[package]
name = "rendering"
description = "SVG rendering for Graphene"
version.workspace = true
license.workspace = true
authors.workspace = true
edition.workspace = true
repository.workspace = true
readme.workspace = true
homepage.workspace = true
rust-version.workspace = true
publish.workspace = true
[lints]
workspace = true
[features]
default = ["serde"]
serde = ["dep:serde", "core-types/serde", "vector-types/serde", "graphic-types/serde", "brush-types/serde"]
[dependencies]
# Local dependencies
dyn-any = { workspace = true }
core-types = { workspace = true }
brush-types = { workspace = true }
graphene-hash = { workspace = true }
graphene-resource = { workspace = true }
text-nodes = { workspace = true }
# Workspace dependencies
glam = { workspace = true }
base64 = { workspace = true }
log = { workspace = true }
num-traits = { workspace = true }
usvg = { workspace = true }
kurbo = { workspace = true }
vector-types = { workspace = true }
graphic-types = { workspace = true }
vello_gpu = { workspace = true }
parley = { workspace = true }
skrifa = { workspace = true }
# Optional workspace dependencies
serde = { workspace = true, optional = true }