mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
refactor: gpu webgl fallback and batched command encoding
Made-with: Cursor
This commit is contained in:
@@ -8,6 +8,10 @@ bytemuck = { version = "1.25.0", features = ["derive"] }
|
||||
thiserror = "2.0.18"
|
||||
wgpu = "29.0.1"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen = "0.2.116"
|
||||
web-sys = { version = "0.3.93", features = ["Document", "Window", "HtmlCanvasElement", "OffscreenCanvasRenderingContext2d", "ImageData"] }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
wasm = []
|
||||
wasm = ["wgpu/webgl"]
|
||||
|
||||
Reference in New Issue
Block a user