Bug 1509272 - Always use new transform display items r=mattwoodrow

Differential Revision: https://phabricator.services.mozilla.com/D17425

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Miko Mynttinen 2019-01-25 04:03:01 +00:00
Родитель e3c0193666
Коммит aebd9ae995
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -447,6 +447,11 @@ class MergeState {
return true;
}
if (type == DisplayItemType::TYPE_TRANSFORM) {
// Prerendering of transforms can change without frame invalidation.
return true;
}
return false;
}

Просмотреть файл

@ -4736,6 +4736,7 @@ void nsDisplayBackgroundColor::HitTest(nsDisplayListBuilder* aBuilder,
void nsDisplayBackgroundColor::WriteDebugInfo(std::stringstream& aStream) {
aStream << " (rgba " << mColor.r << "," << mColor.g << "," << mColor.b << ","
<< mColor.a << ")";
aStream << " backgroundRect" << mBackgroundRect;
}
already_AddRefed<Layer> nsDisplayClearBackground::BuildLayer(
@ -8382,6 +8383,9 @@ void nsDisplayTransform::WriteDebugInfo(std::stringstream& aStream) {
if (mFrame->Combines3DTransformWithAncestors()) {
aStream << " combines-3d-with-ancestors";
}
aStream << " allowAsync(" << (mAllowAsyncAnimation ? "true" : "false") << ")";
aStream << " childrenBuildingRect" << mChildrenBuildingRect;
}
nsDisplayPerspective::nsDisplayPerspective(nsDisplayListBuilder* aBuilder,