servo/components/compositing
bors-servo bc44ae679f Auto merge of #9401 - glennw:raf-timing, r=jdm
Fixes additional calls to rAF.

Often, a rAF callback will request another rAF from the callback itself.

Previously, the constellation would quickly receive two messages saying
that there were no animations, and then there are animations again in the
situation above. This would make the compositor tick the new animation straight
away, causing strange fluctuations and timings in rAF callbacks.

Instead, only send the NoAnimationCallbacks message if the animation
callback queue is still empty after invoking the callbacks.

This fixes rAF timing, which now runs at the correct (vsync) framerate.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9401)
<!-- Reviewable:end -->
2016-01-28 11:18:24 +05:30
..
Cargo.toml adding check for windows then using Scripts instead of bin 2016-01-22 19:27:29 -06:00
compositor.rs Auto merge of #9401 - glennw:raf-timing, r=jdm 2016-01-28 11:18:24 +05:30
compositor_layer.rs compositing: Fix a couple of bugs that prevented iframes from painting 2016-01-26 16:37:23 -05:00
compositor_thread.rs Move AnimationState to script_traits 2016-01-13 18:14:12 -05:00
constellation.rs Ignore navigation requests from pages that are not active. 2016-01-27 18:17:03 -05:00
headless.rs Move AnimationState to script_traits 2016-01-13 18:14:12 -05:00
lib.rs Remove usage of Gaol in the Windows configuration, since sandboxing is not supported there yet. 2016-01-22 19:28:38 -06:00
pipeline.rs move MozBrowserEvent to script_traits (+ documentation) 2016-01-13 17:48:50 +01:00
sandboxing.rs Remove unused import. 2015-11-20 08:55:41 +01:00
scrolling.md Add documentation about the scrolling model 2014-10-10 09:26:43 -07:00
scrolling.rs task -> thread 2016-01-10 17:58:13 +09:00
surface_map.rs task -> thread 2016-01-10 17:58:13 +09:00
timer_scheduler.rs task -> thread 2016-01-10 17:58:13 +09:00
touch.rs Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
windowing.rs Moving MouseButton from msg to script_traits 2016-01-13 19:23:45 -08:00