egui/crates/egui_demo_app
Emil Ernerfeldt aedd43c88f
kittest: Add `UPDATE_SNAPSHOTS=force` (#7508)
This adds a new mode, `UPDATE_SNAPSHOTS=force`, which will lower the
threshold to zero, overwriting every image that is not _exactly_ the
same.

Most comparisons has a threshold because different GPUs render slightly
differently. However, setting that threshold accurately can be hard.

Sometimes a test will pass locally, but fail on CI. In those cases you
want to force an update of the failing test. You can use
`UPDATE_SNAPSHOTS=force` for that.

And sometimes a small change _should_ update all images, but the change
is so tiny that it falls under the threshold. Still, you want to make a
point of showing that these images have changes. You can use
`UPDATE_SNAPSHOTS=force` for that.
2025-09-05 16:45:36 +02:00
..
src Enable and fix some more clippy lints (#7426) 2025-08-08 09:57:53 +02:00
tests kittest: Add `UPDATE_SNAPSHOTS=force` (#7508) 2025-09-05 16:45:36 +02:00
Cargo.toml Fix egui_demo_app missing wgpu backends (#7492) 2025-09-03 12:55:02 +02:00
README.md Rename `master` branch to `main` (#7034) 2025-05-08 09:15:42 +02:00

README.md

egui demo app

This app demonstrates egui and eframe.

View the demo app online at https://egui.rs.

Run it locally with cargo run --release -p egui_demo_app.

egui_demo_app can be compiled to WASM and viewed in a browser locally with:

./scripts/start_server.sh &
./scripts/build_demo_web.sh --open

egui_demo_app uses egui_demo_lib.

Running with wgpu backend

(cd egui_demo_app && cargo r --features wgpu)