aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/runtests.py
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2016-01-22 16:00:13 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2016-01-22 16:08:28 +1000
commitdfaf28d5cdc2577271c09874b23bed784483a4d8 (patch)
treeeb2ddb5211ea1a85ae66c469b7207ff3c36b5698 /components/script/dom/bindings/codegen/parser/runtests.py
parent1c6fb0f04e0cf305f4e1f75371be84944b1e5518 (diff)
downloadservo-dfaf28d5cdc2577271c09874b23bed784483a4d8.tar.gz
servo-dfaf28d5cdc2577271c09874b23bed784483a4d8.zip
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.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/runtests.py')
0 files changed, 0 insertions, 0 deletions