canvas: trace/instrument canvas messages processing (#38600)

Add some tracing/instrumenting for canvas messages processing.

Testing: We have not tests for tracing code.

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
sagudev 2025-08-11 20:21:49 +02:00 committed by GitHub
parent 3f7f9ba6cd
commit 68ad03c40a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 23 additions and 4 deletions

View file

@ -14,7 +14,7 @@ path = "lib.rs"
[features]
bluetooth = ["bluetooth_traits"]
default = []
tracing = ["dep:tracing"]
tracing = ["dep:tracing", "canvas/tracing"]
webgpu = ["script_traits/webgpu"]
vello = ["canvas/vello"]
vello_cpu = ["canvas/vello_cpu"]