gecko-dev/layout
Hiroyuki Ikezoe 77bf0111ce Bug 1467765 - Sample off-main-thread animations on the render backend thread in case of WebRender. r=kats
Now CompositorAnimationStorage::GetAnimatedValue() and SetAnimatedValue()s
are called on the sampler thread in case of WebRender, are called on the
compositor thread in case of non WebRender, so we drop assertions of
IsInCompositorThread check there. A mLock.AssertCurrentThreadOwns call in
each function should make sure the function gets called on the
sampler/compositor thread with acquiring the lock.

One caveat in this change is that in case we try to get an animation value via
nsIDOMWindowUtils.getOMTAStyle(), we do sample animations on the _compositor_
thread and we never call UpdateDynamicProperties, which means if it gets called
in testing refresh driver mode, visual results will differ from what the value
returned by the getOMTAStyle should look like. But it should be fine because we
disallow using any chrome priviledge APIs in reftests and also we will never use
the testing refresh driver mode in the reftest harness. Also in mochitests the
visual results' differences might make people confusing if the person can notice
it, but in principal getOMTAStyle() is designed to get computed animating values
so that it doesn't matter what the visual result is.

Differential Revision: https://phabricator.services.mozilla.com/D79982
2020-06-17 23:47:20 +00:00
..
base Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
build Bug 1603712 - Remove intl.charset.detector.ng.enabled pref and resulting dead code. r=Gijs,fluent-reviewers,valentin,m_kato 2020-06-15 15:32:21 +00:00
docs Bug 1628958 Part 1 - Add Layout & CSS section to Mozilla Source Tree Documentation. r=firefox-source-docs-reviewers,sylvestre 2020-04-15 18:07:24 +00:00
forms Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
generic Backed out changeset a59280f412c0 (bug 1633737) for crashtest assertion failures at nsGridContainerFrame.cpp. CLOSED TREE 2020-06-18 04:16:09 +03:00
inspector Bug 1642221 - Rename SheetLoadData::mLoaderPrincipal to mTriggeringPrincipal. r=jwatt 2020-05-31 17:11:57 +00:00
ipc Bug 1613985 - Use default for equivalent-to-default constructors/destructors in layout. r=dholbert 2020-03-17 09:38:32 +00:00
mathml Bug 1644863 - fix trailing whitespace and windows line endings in locale files, r=fluent-reviewers,flod,Pike 2020-06-17 22:46:22 +00:00
media
painting Bug 1467765 - Sample off-main-thread animations on the render backend thread in case of WebRender. r=kats 2020-06-17 23:47:20 +00:00
printing Bug 1471854 - Make print.always_print_silent a static pref. r=jwatt 2020-06-10 13:41:17 +00:00
reftests Bug 1643656 - Remove prefers-color-scheme: no-preference. r=gl,remote-protocol-reviewers,hiro,whimboo 2020-06-14 23:26:04 +00:00
style Backed out changeset a59280f412c0 (bug 1633737) for crashtest assertion failures at nsGridContainerFrame.cpp. CLOSED TREE 2020-06-18 04:16:09 +03:00
svg Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj 2020-06-10 10:46:14 +00:00
tables Backed out 2 changesets (bug 477157) for border rendering regressions. 2020-06-14 11:45:06 +02:00
tools Bug 1640019 - Part 6: Get rid of the rebuild_frameloaders pref, r=Gijs 2020-06-15 23:24:00 +00:00
xul Bug 1638153: Part 2 - Fix uses of .rootTreeItem to get top browser window. r=geckoview-reviewers,nika,snorp 2020-06-17 17:17:16 +00:00
moz.build Bug 1628958 Part 1 - Add Layout & CSS section to Mozilla Source Tree Documentation. r=firefox-source-docs-reviewers,sylvestre 2020-04-15 18:07:24 +00:00