egui/crates
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
..
ecolor Add `Color32::mul` (#5437) 2024-12-05 13:53:20 +01:00
eframe Add screenshot support for eframe web (#5438) 2024-12-12 19:17:42 +01:00
egui Add `Context::layer_transform_to_global` & `layer_transform_from_global` (#5465) 2024-12-12 18:29:13 +01:00
egui-wgpu Add screenshot support for eframe web (#5438) 2024-12-12 19:17:42 +01:00
egui-winit Allow attaching custom user data to a screenshot command (#5416) 2024-12-03 10:08:55 +01:00
egui_demo_app web_demo: make hash anchor case insensitive (#5446) 2024-12-11 13:44:37 +01:00
egui_demo_lib Add screenshot support for eframe web (#5438) 2024-12-12 19:17:42 +01:00
egui_extras Update MSRV to 1.80 (#5457) 2024-12-10 16:09:03 +01:00
egui_glow Update glow to 0.16 (#5395) 2024-11-26 21:00:34 +01:00
egui_kittest Update MSRV to 1.80 (#5457) 2024-12-10 16:09:03 +01:00
egui_plot Move `egui_plot` to its own repo (#4828) 2024-07-15 18:45:19 +02:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Add new `Rect::intersects_ray_from_center` method (#5415) 2024-12-02 09:20:59 +01:00
epaint Update MSRV to 1.80 (#5457) 2024-12-10 16:09:03 +01:00
epaint_default_fonts Release 0.29.1 - Bug fixes 2024-10-01 10:08:21 +02:00