servo/components
Glenn Watson 92061132f3 Fix animation smoothness when using requestAnimationFrame.
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.
2016-03-04 07:26:00 +10:00
..
canvas Update webrender crate refs to reflect ownership change. 2016-02-23 19:49:50 -05:00
canvas_traits Update webrender crate refs to reflect ownership change. 2016-02-23 19:49:50 -05:00
compositing Fix animation smoothness when using requestAnimationFrame. 2016-03-04 07:26:00 +10:00
devtools Completed implementation of devtools' getLayout. 2016-02-24 13:51:47 -05:00
devtools_traits Completed implementation of devtools' getLayout. 2016-02-24 13:51:47 -05:00
gfx Flatten display list structure 2016-03-01 14:50:07 -08:00
gfx_traits Flatten display list structure 2016-03-01 14:50:07 -08:00
layout Fix animation smoothness when using requestAnimationFrame. 2016-03-04 07:26:00 +10:00
layout_traits Update webrender crate refs to reflect ownership change. 2016-02-23 19:49:50 -05:00
msg Auto merge of #9708 - danlrobertson:i8623, r=KiChjang 2016-02-25 05:49:03 +05:30
net implementing working demonstration of calling Fetch asynchronously 2016-03-01 13:02:38 -07:00
net_traits Use piston_image instead of stb_image for decoding JPEGs 2016-03-02 09:13:49 +01:00
plugins Bump to Rust 2016-02-22 2016-02-23 02:43:57 +01:00
profile Flatten display list structure 2016-03-01 14:50:07 -08:00
profile_traits Flatten display list structure 2016-03-01 14:50:07 -08:00
range Move util::range into its own crate 2016-02-25 21:06:10 -05:00
script Auto merge of #9825 - creativcoder:remove-contructor-xmldoc, r=KiChjang 2016-03-03 17:41:03 +05:30
script_traits Support Browser API event mozbrowserconnected 2016-02-24 18:45:07 +01:00
servo Update webrender. Fixes #9846. 2016-03-03 11:28:03 +10:00
style Implement From<DOMString> for Atom 2016-02-24 17:52:17 +01:00
style_traits Move util::cursor to style_traits 2016-02-16 00:50:01 +01:00
util Flatten display list structure 2016-03-01 14:50:07 -08:00
webdriver_server Use piston_image instead of stb_image for decoding JPEGs 2016-03-02 09:13:49 +01:00