mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Automatically generate screenshots for all examples (#2379)
This commit is contained in:
@@ -9,6 +9,8 @@ publish = false
|
||||
|
||||
|
||||
[dependencies]
|
||||
eframe = { path = "../../crates/eframe", features = ["puffin"] }
|
||||
eframe = { path = "../../crates/eframe", features = [
|
||||
"__screenshot", # __screenshot is so we can dump a ascreenshot using EFRAME_SCREENSHOT_TO
|
||||
] }
|
||||
puffin = "0.14"
|
||||
puffin_http = "0.11"
|
||||
|
||||
@@ -7,3 +7,5 @@ cargo run -p puffin_profiler &
|
||||
cargo install puffin_viewer
|
||||
puffin_viewer --url 127.0.0.1:8585
|
||||
```
|
||||
|
||||

|
||||
|
||||
BIN
examples/puffin_profiler/screenshot.png
Normal file
BIN
examples/puffin_profiler/screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
Reference in New Issue
Block a user