mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 04:58:12 +08:00
Integrate raw WGPU textures into Vello rendering pipeline (#1897)
* WIP * Introduce `Raster` enum and plumb texture injection to vello * Use correct texture formas for usage in vello * Add missing cache implementations * Update vello image override api * Use git version of vello * Fix type for upload texture node * Improve crash resiliance * Fix warnings * Remove unused node impls
This commit is contained in:
+7
-3
@@ -56,8 +56,8 @@ chrono = "0.4"
|
||||
ron = "0.8"
|
||||
fastnoise-lite = "1.1"
|
||||
spirv-std = { git = "https://github.com/GraphiteEditor/rust-gpu.git" }
|
||||
wgpu-types = "0.20"
|
||||
wgpu = { version = "0.20", features = ["strict_asserts", "api_log_info"] }
|
||||
wgpu-types = "22"
|
||||
wgpu = { version = "22.1", features = ["strict_asserts"] }
|
||||
once_cell = "1.13" # Remove when `core::cell::LazyCell` (<https://doc.rust-lang.org/core/cell/struct.LazyCell.html>) is stabilized in Rust 1.80 and we bump our MSRV
|
||||
wasm-bindgen = "=0.2.92" # NOTICE: ensure this stays in sync with the `wasm-bindgen-cli` version in `website/content/volunteer/guide/getting-started/_index.md`. We pin this version because wasm-bindgen upgrades may break various things.
|
||||
wasm-bindgen-futures = "0.4"
|
||||
@@ -66,7 +66,7 @@ web-sys = "=0.3.69"
|
||||
winit = "0.29"
|
||||
url = "2.5"
|
||||
tokio = { version = "1.29", features = ["fs", "io-std"] }
|
||||
vello = "0.2"
|
||||
vello = { git = "https://github.com/linebender/vello" }
|
||||
resvg = "0.42"
|
||||
usvg = "0.42"
|
||||
rand = { version = "0.8", default-features = false }
|
||||
@@ -92,6 +92,9 @@ syn = { version = "2.0", default-features = false, features = [
|
||||
] }
|
||||
kurbo = { version = "0.11.0", features = ["serde"] }
|
||||
|
||||
[patch.crates-io]
|
||||
meval = { git = "https://github.com/Titaniumtown/meval-rs" }
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
|
||||
@@ -110,6 +113,7 @@ syn = { opt-level = 3 }
|
||||
|
||||
[profile.release]
|
||||
lto = "thin"
|
||||
debug = true
|
||||
|
||||
[profile.profiling]
|
||||
inherits = "release"
|
||||
|
||||
Reference in New Issue
Block a user