I just landed (on mozilla-inbound) a patch for
https://bugzilla.mozilla.org/show_bug.cgi?id=980770 that enables
off-main-thread (OMT) animations on nightly and aurora.  This
feature has previously been enabled on Firefox OS since Firefox OS
1.0, but until now it has been disabled elsewhere.

Off-main-thread animations means that we run animations of some CSS
properties (currently only opacity and transform) on the compositor
thread, and stop doing style updates on the main thread.  Running
the updates on the compositor thread makes the animations run more
smoothly (since their smoothness is no longer dependent on other
things not hogging the main thread), and not doing the style updates
on the main thread reduces the amount of work that we do (rather
than increasing it).

Depending on merge timing, and presuming that the change isn't
backed out, this might hit nightly either tomorrow (April 1) or
Thursday (April 2).

Regressions from enabling it should be made to block bug 980770.

If you want to test if something is a regression from it, toggle the
pref "layers.offmainthreadcomposition.async-animations".  (Reloading
the page is probably needed for it to take effect fully, although it
shouldn't require a restart, unless it's a bug in the Firefox UI.)

Since this is the beginning of the six-week release cycle, I'm
hoping that we'll be able to flip the pref unconditionally by the
end of this cycle and let it ride the trains to release.  However,
it's currently enabled only for nightly and aurora.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to