1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 12:50:04 -04:00

Opt-in logging of egui-wgpu using puffin

This commit is contained in:
Emil Ernerfeldt
2022-11-10 16:27:31 +01:00
parent b2edbe617e
commit e225c6b8d0
6 changed files with 100 additions and 25 deletions

View File

@@ -47,7 +47,7 @@ persistence = [
##
## Only enabled on native, because of the low resolution (1ms) of time keeping in browsers.
## `eframe` will call `puffin::GlobalProfiler::lock().new_frame()` for you
puffin = ["dep:puffin", "egui_glow?/puffin"]
puffin = ["dep:puffin", "egui_glow?/puffin", "egui-wgpu?/puffin"]
## Enable screen reader support (requires `ctx.options().screen_reader = true;`)
screen_reader = ["egui-winit/screen_reader", "tts"]