egui/crates/egui_demo_lib/src
lucasmerlin 6c1d695fc6
Add screenshot support for eframe web (#5438)
This implements web support for taking screenshots in an eframe app (and
adds a nice demo).
It also updates the native screenshot implementation to work with the
wgpu gl backend.

The wgpu implementation is quite different than the native one because
we can't block to wait for the screenshot result, so instead I use a
channel to pass the result to a future frame asynchronously.

* Closes <https://github.com/emilk/egui/issues/5425>
* [x] I have followed the instructions in the PR template


https://github.com/user-attachments/assets/67cad40b-0384-431d-96a3-075cc3cb98fb
2024-12-12 19:17:42 +01:00
..
demo Add screenshot support for eframe web (#5438) 2024-12-12 19:17:42 +01:00
easy_mark Update MSRV to Rust 1.79 (#5421) 2024-12-01 18:58:35 +01:00
lib.rs Use Style's font size in egui_extras::syntax_highlighting (#5090) 2024-09-10 11:38:26 +02:00
rendering_test.rs Add `Harness::new_ui`, `Harness::fit_contents` (#5301) 2024-11-01 18:30:40 +01:00