egui/crates/eframe/src
Andreas Reich b1d2551e7e
Make frame delay on screenshots consistently one frame on web as well (#5482)
Native is already delayed by a frame because it calls
`handle_viewport_output` -> `egui_winit::process_viewport_commands`
after drawing. On web however, we process input including viewport
commands separately from drawing.
This adds an arbitrary frame delay mechanism for web and then uses this
with 1 frame delay always
2024-12-16 15:03:01 +01:00
..
native Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
web Make frame delay on screenshots consistently one frame on web as well (#5482) 2024-12-16 15:03:01 +01:00
epi.rs Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
icon_data.rs Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
lib.rs Use `profiling` crate to support more profiler backends (#5150) 2024-12-16 09:15:54 +01:00
stopwatch.rs Much more accurate `cpu_usage` timing (#3913) 2024-01-29 19:12:16 +01:00