mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Add profiling instructions
This commit is contained in:
committed by
Keavon Chambers
parent
c63a63ba13
commit
aa338c5b1b
10
Cargo.lock
generated
10
Cargo.lock
generated
@@ -3115,6 +3115,15 @@ dependencies = [
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "nvtx"
|
||||
version = "1.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "358dc398b07348e7541bf065ee313e8215a7832e07fab385f51683dc3be83ec7"
|
||||
dependencies = [
|
||||
"cc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "objc"
|
||||
version = "0.2.7"
|
||||
@@ -5987,6 +5996,7 @@ dependencies = [
|
||||
"graphene-core",
|
||||
"log",
|
||||
"num-traits",
|
||||
"nvtx",
|
||||
"serde",
|
||||
"spirv",
|
||||
"web-sys",
|
||||
|
||||
@@ -16,6 +16,7 @@ gpu = [
|
||||
default = ["wgpu"]
|
||||
wgpu = ["wgpu-executor", "gpu", "graphene-std/wgpu"]
|
||||
wayland = ["graphene-std/wayland"]
|
||||
profiling = ["wgpu-executor/profiling"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -6,6 +6,7 @@ license = "MIT OR Apache-2.0"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
profiling = ["nvtx"]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
@@ -38,3 +39,4 @@ futures-intrusive = "0.5.0"
|
||||
futures = "0.3.25"
|
||||
web-sys = { version = "0.3.4", features = ["HtmlCanvasElement"] }
|
||||
winit = "0.28.6"
|
||||
nvtx = { version = "1.1.1", optional = true }
|
||||
|
||||
Reference in New Issue
Block a user