mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 22:38:13 +08:00
Remove surface and window from ApplicationIo (#3941)
* Remove surface and window from ApplicationIo * Seperate Wasm and Native ApplicationIo * Fix warnings * Fix tests * Remove redundant PlatformApplicationIo::new_offscreen * Fixup * Remove unused From implementaitions for ApplicationIo
This commit is contained in:
@@ -7,9 +7,9 @@ authors = ["Graphite Authors <contact@graphite.art>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
[features]
|
||||
default = ["wasm", "wgpu"]
|
||||
default = ["wgpu"]
|
||||
gpu = []
|
||||
wgpu = ["gpu", "graph-craft/wgpu", "graphene-application-io/wgpu"]
|
||||
wgpu = ["gpu", "graph-craft/wgpu", "graphene-application-io/wgpu", "graphene-canvas-utils?/wgpu"]
|
||||
wasm = [
|
||||
"wasm-bindgen",
|
||||
"wasm-bindgen-futures",
|
||||
@@ -24,6 +24,7 @@ wasm = [
|
||||
"vector-nodes/wasm",
|
||||
"graphene-core/wasm",
|
||||
"graph-craft/wasm",
|
||||
"dep:graphene-canvas-utils"
|
||||
]
|
||||
image-compare = []
|
||||
vello = ["gpu"]
|
||||
@@ -61,6 +62,9 @@ image = { workspace = true }
|
||||
base64 = { workspace = true }
|
||||
wgpu = { workspace = true }
|
||||
|
||||
# Optional local dependencies
|
||||
graphene-canvas-utils = { workspace = true, optional = true }
|
||||
|
||||
# Optional workspace dependencies
|
||||
wasm-bindgen = { workspace = true, optional = true }
|
||||
wasm-bindgen-futures = { workspace = true, optional = true }
|
||||
|
||||
Reference in New Issue
Block a user