servo/components/compositing
Martin Robinson e4ac047a9c
compositor: Limit animation tick interval when in WPT mode (#31561)
When exiting after load or dumping a screenshot, limit the speed that
the compositor sends tick events to the constellation (and on to the
script thread). Previously, these tick messages were sent as fast as the
winit event loop (that's really fast!), until the document was ready to
for its screenshot. rAf is meant to run at more or less the same
frequency as the refresh rate of the screen.

On my system, the massive amount of ticks was overwhelming the router
thread, preventing fonts from loading properly. This change is an attempt
to make tests with requestAnimationFrame less flaky.
2024-03-07 21:45:39 +00:00
..
build.rs Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
Cargo.toml Update gstreamer crates to 0.22 (#31465) 2024-03-01 11:45:43 +00:00
compositor.rs compositor: Limit animation tick interval when in WPT mode (#31561) 2024-03-07 21:45:39 +00:00
gl.rs Add initial support for offscreen rendering (#30767) 2023-12-13 02:49:25 +00:00
lib.rs gfx: Rename WebrenderSurfman to RenderingContext and move to gfx (#31184) 2024-01-27 17:58:34 +00:00
touch.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
windowing.rs Implement non-XR Gamepad discovery and input (#31200) 2024-02-17 18:42:31 +00:00