gecko-dev/servo/components/compositing
Glenn Watson 44f92cb1ae servo: Merge #9858 - Fix animation smoothness when using requestAnimationFrame (from glennw:anim-smoothness); r=pcwalton
Previously, the flow for ticking animations was:

Compositor -> Constellation -> Layout -> Script

However, this means that the compositor <-> layout messages can thrash, meaning layout thread is very rarely idle.

This means that the script thread (which joins on the layout thread during reflow) was unable to execute and run rAF callbacks.

With this change, the flow is now:

Compositor -> Constellation -> Script (when rAF is active).
Compositor -> Constellation -> Layout (when transitions / animations are active and no rAF is present).

This makes rAF based animation *much* smoother.

Source-Repo: https://github.com/servo/servo
Source-Revision: aba500a698584e66975cd93006ca8cf745370f7d
2016-03-04 05:21:50 +05:01
..
Cargo.toml servo: Merge #9857 - Indicate components should not be published to crates.io (from servo:publish-false); r=ecoal95 2016-03-04 01:08:14 +05:01
compositor.rs servo: Merge #9858 - Fix animation smoothness when using requestAnimationFrame (from glennw:anim-smoothness); r=pcwalton 2016-03-04 05:21:50 +05:01
compositor_layer.rs servo: Merge #9421 - compositing: Fix a couple of bugs that prevented iframes from painting after navigation (from jdm:iframe-painting-after-navigation-redux); r=jdm 2016-01-28 04:26:04 +05:01
compositor_thread.rs servo: Merge #9663 - compositing: Stop compositing unnecessarily after each animation frame (from pcwalton:browser-html-jank-fix); r=glennw 2016-02-25 03:27:02 +05:01
constellation.rs servo: Merge #9858 - Fix animation smoothness when using requestAnimationFrame (from glennw:anim-smoothness); r=pcwalton 2016-03-04 05:21:50 +05:01
delayed_composition.rs servo: Merge #9663 - compositing: Stop compositing unnecessarily after each animation frame (from pcwalton:browser-html-jank-fix); r=glennw 2016-02-25 03:27:02 +05:01
headless.rs servo: Merge #9858 - Fix animation smoothness when using requestAnimationFrame (from glennw:anim-smoothness); r=pcwalton 2016-03-04 05:21:50 +05:01
lib.rs servo: Merge #9858 - Fix animation smoothness when using requestAnimationFrame (from glennw:anim-smoothness); r=pcwalton 2016-03-04 05:21:50 +05:01
pipeline.rs servo: Merge #9589 - Add WebRender integration to Servo (from glennw:webrender); r=pcwalton 2016-02-19 00:25:06 +05:01
sandboxing.rs servo: Merge #8615 - Remove unused import (from Ms2ger:unusued-import); r=SimonSapin 2015-11-20 12:57:18 +05:01
scrolling.md servo: Merge #3634 - Add documentation about the scrolling model (from mrobinson:scrolling-doc); r=jdm 2014-10-14 13:30:36 -06:00
surface_map.rs servo: Merge #9201 - task -> thread (from ajnirp:8512-task-thread); r=jdm 2016-01-10 15:20:04 +05:01
timer_scheduler.rs servo: Merge #9201 - task -> thread (from ajnirp:8512-task-thread); r=jdm 2016-01-10 15:20:04 +05:01
touch.rs servo: Merge #9123 - Fix a bunch of clippy lints (from karyon:clippy_cleanup); r=Manishearth 2016-01-03 08:47:34 +05:01
windowing.rs servo: Merge #9636 - Move util::cursor to style_traits (from nox:mv-cursor); r=Ms2ger 2016-02-16 16:21:20 +05:01