This is the same change as in #4069 but as this is stale I wanted to reopen a non stale PR Modifies ImageLoader's load function to use background threads for the image decoding work. This avoids blocking the main thread that is especially noticeable when loading many images at once. This was modelled after the other loader implementations that also use threads. * Closes <https://github.com/emilk/egui/issues/5375> * [x] I have followed the instructions in the PR template --------- Co-authored-by: lucasmerlin <lucasmeurer96@gmail.com> Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| README.md | ||
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)