criss
e98a07853d
Backed out changeset ae6e736dc962 (bug 1730682) for casuing reftest failures on display-list
2021-09-28 00:35:57 +03:00
Matt Woodrow
56ed4f6cd9
Bug 1730682 - Flatten opacity before setting up clips. r=miko
...
Pushing the clip for the opacity item into the clip manager has a non-trivial cost, so we get better performance if we handle flattening the item before that.
Differential Revision: https://phabricator.services.mozilla.com/D125633
2021-09-27 19:49:31 +00:00
Tetsuharu Ohzeki
cae34e01f1
Bug 1732222 - Remove unused nsDisplayMasksAndClipPaths::CanPaintOnMaskLayer(). r=layout-reviewers,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D126437
2021-09-23 18:35:07 +00:00
Matt Woodrow
5d982b06d4
Bug 1725267 - Remove paint compression. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D125799
2021-09-22 03:36:51 +00:00
Matt Woodrow
997a59ac07
Bug 1725267 - Remove unused NO_COMPOSITE. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D125798
2021-09-22 03:36:51 +00:00
Matt Woodrow
65ab371853
Bug 1729937 - Don't include the display item clip in the paint rect. r=jrmuizel
...
For non-WR painting from nsDisplayList::Paint, the display item clip will already be applied to the context, so will still be included in the result via the clip extents.
WebRender fallback painting intentionally doesn't use the clip (since the clip can include the displayport size), to avoid needing to invalidate for display port changes..
Differential Revision: https://phabricator.services.mozilla.com/D125613
2021-09-21 23:50:40 +00:00
Andrew Osmond
3a98545701
Bug 1728903 - Remove plumbing for CanvasLayer and ImageLayer. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D124406
2021-09-18 11:44:51 +00:00
Botond Ballo
0571c4f664
Bug 1729581 - Do not use the content clip ASR when setting the current container ASR. r=mstange
...
The PickDescendant here was never needed for correctness, it only enabled
better layerization on pages with scrolled clips on fixed elements.
With FrameLayerBuilder removed, it doesn't provide any benefits, and it's
causing problems for other container items inside the fixed element,
because some of them accidentally pick up the scrolled ASR instead of the
fixed ASR for themselves.
Differential Revision: https://phabricator.services.mozilla.com/D125496
2021-09-17 21:50:06 +00:00
Botond Ballo
dcffded9c5
Bug 1729581 - Move the AutoContainerASRTracker constructor out of line. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D125495
2021-09-17 21:50:05 +00:00
Matt Woodrow
2859a00361
Bug 1714138 - Remove AnimatedGeometryRoot. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D124154
2021-09-15 08:31:05 +00:00
Matt Woodrow
38770a04e5
Bug 1728258 - Compute AnimatedGeometryRoot frames in RetainedDisplayListBuilder without needing the existing object stored on nsDisplayItem. r=miko,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D124153
2021-09-15 08:31:05 +00:00
Matt Woodrow
d3a34b8916
Bug 1729236 - Remove GetPaintRect. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D124590
2021-09-13 05:01:36 +00:00
Matt Woodrow
9e33e350cd
Bug 1729236 - Don't use GetPaintRect for painting text. r=jrmuizel
...
Text is the exception, where clipping the WR commands to the paint rect can let us reduce the size sent.
We want to avoid this when doing fallback painting, since we don't want to have to track paint rect changes for invalidation.
Differential Revision: https://phabricator.services.mozilla.com/D124589
2021-09-13 05:01:36 +00:00
Matt Woodrow
3be3d71f55
Bug 1729236 - Don't use GetPaintRect for CreateWebRenderCommands. r=jrmuizel
...
WebRender prefers to know the full bounds of the primitive, since it makes invalidation easier (and doesn't increase the size of the commands we send).
Differential Revision: https://phabricator.services.mozilla.com/D124588
2021-09-13 05:01:35 +00:00
Matt Woodrow
7292fcce3e
Bug 1542929 - Remove mReferenceFrame from nsDisplayItem. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124009
2021-09-13 05:01:35 +00:00
Matt Woodrow
d6c652134a
Bug 1728251 - Remove mClip and compute it when we need it. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124008
2021-09-13 05:01:35 +00:00
Matt Woodrow
6ec95b95cd
Bug 1728251 - Remove FuseClipChainUpTo since its unused. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124007
2021-09-13 05:01:34 +00:00
Matt Woodrow
642579b68a
Bug 1728232 - Remove RestoreState. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124006
2021-09-13 05:01:34 +00:00
Matt Woodrow
fcd01e0c90
Bug 1728050 - Move opacity flattening to be part of WR DL serialization. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124005
2021-09-13 05:01:33 +00:00
criss
9640d7f5f3
Backed out 10 changesets (bug 1714138, bug 1542929, bug 1728232, bug 1729236, bug 1728258, bug 1728251, bug 1728050) for causing bug 1424348 a=backout
...
Backed out changeset c5b71e6ce0e5 (bug 1729236)
Backed out changeset c6bcc4ed3d2e (bug 1729236)
Backed out changeset 7e292895282a (bug 1729236)
Backed out changeset d9ddd915e0c2 (bug 1714138)
Backed out changeset 82b98d2f0dcf (bug 1728258)
Backed out changeset 9a84a36b9dc4 (bug 1542929)
Backed out changeset 96be978630ff (bug 1728251)
Backed out changeset d7a8bf19d849 (bug 1728251)
Backed out changeset cce0c53b439f (bug 1728232)
Backed out changeset 3afd6aee7849 (bug 1728050)
2021-09-12 12:00:30 +03:00
Matt Woodrow
151a3d8bfc
Bug 1726663 - Don't restrict fallback painting to the building rect, since it can be incorrect and is going to be removed soon. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D125002
2021-09-10 03:59:13 +00:00
Matt Woodrow
406f6d60f9
Bug 1729236 - Remove GetPaintRect. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D124590
2021-09-10 03:43:36 +00:00
Matt Woodrow
ac829d9934
Bug 1729236 - Don't use GetPaintRect for painting text. r=jrmuizel
...
Text is the exception, where clipping the WR commands to the paint rect can let us reduce the size sent.
We want to avoid this when doing fallback painting, since we don't want to have to track paint rect changes for invalidation.
Differential Revision: https://phabricator.services.mozilla.com/D124589
2021-09-10 03:43:35 +00:00
Matt Woodrow
a0a81ab3ce
Bug 1729236 - Don't use GetPaintRect for CreateWebRenderCommands. r=jrmuizel
...
WebRender prefers to know the full bounds of the primitive, since it makes invalidation easier (and doesn't increase the size of the commands we send).
Differential Revision: https://phabricator.services.mozilla.com/D124588
2021-09-10 03:43:35 +00:00
Matt Woodrow
75c16d58b2
Bug 1714138 - Remove AnimatedGeometryRoot. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D124154
2021-09-10 03:43:35 +00:00
Matt Woodrow
d6a7981bbb
Bug 1728258 - Compute AnimatedGeometryRoot frames in RetainedDisplayListBuilder without needing the existing object stored on nsDisplayItem. r=miko,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D124153
2021-09-10 03:43:34 +00:00
Matt Woodrow
64ed962752
Bug 1542929 - Remove mReferenceFrame from nsDisplayItem. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124009
2021-09-10 03:43:34 +00:00
Matt Woodrow
1bd1ee4aea
Bug 1728251 - Remove mClip and compute it when we need it. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124008
2021-09-10 03:43:33 +00:00
Matt Woodrow
f2bab145b9
Bug 1728251 - Remove FuseClipChainUpTo since its unused. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124007
2021-09-10 03:43:33 +00:00
Matt Woodrow
706fce127d
Bug 1728232 - Remove RestoreState. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124006
2021-09-10 03:43:32 +00:00
Matt Woodrow
fbef6fe2ee
Bug 1728050 - Move opacity flattening to be part of WR DL serialization. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124005
2021-09-10 03:43:32 +00:00
Timothy Nikkel
409d2513b2
Bug 1729604. Remove unused aClipRect argument to nsLayoutUtils::ComputeScrollMetadata. r=hiro
...
Depends on D124871
Differential Revision: https://phabricator.services.mozilla.com/D124872
2021-09-08 04:20:56 +00:00
Marian-Vasile Laza
d25d135947
Backed out 7 changesets (bug 1728050, bug 1728251, bug 1728232, bug 1542929, bug 1714138, bug 1728258) for causing reftest failures. CLOSED TREE
...
Backed out changeset 41e053201cd3 (bug 1714138)
Backed out changeset 16ae9f5b4aa0 (bug 1728258)
Backed out changeset 414aa7ff05fe (bug 1542929)
Backed out changeset 7217ecf149c4 (bug 1728251)
Backed out changeset 405ff2ed2110 (bug 1728251)
Backed out changeset 3eec9e6c7218 (bug 1728232)
Backed out changeset 66038c15fe54 (bug 1728050)
2021-09-07 09:00:26 +03:00
Matt Woodrow
4588b30e2b
Bug 1714138 - Remove AnimatedGeometryRoot. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D124154
2021-09-06 23:12:05 +00:00
Matt Woodrow
e060744ad1
Bug 1728258 - Compute AnimatedGeometryRoot frames in RetainedDisplayListBuilder without needing the existing object stored on nsDisplayItem. r=miko,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D124153
2021-09-06 23:12:04 +00:00
Matt Woodrow
9bdea2da6b
Bug 1542929 - Remove mReferenceFrame from nsDisplayItem. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124009
2021-09-06 23:12:04 +00:00
Matt Woodrow
51b371636c
Bug 1728251 - Remove mClip and compute it when we need it. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124008
2021-09-06 23:12:04 +00:00
Matt Woodrow
e7b3614318
Bug 1728251 - Remove FuseClipChainUpTo since its unused. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124007
2021-09-06 23:12:03 +00:00
Matt Woodrow
3f9d3853cd
Bug 1728232 - Remove RestoreState. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124006
2021-09-06 23:12:03 +00:00
Matt Woodrow
7e0f7ff766
Bug 1728050 - Move opacity flattening to be part of WR DL serialization. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124005
2021-09-06 23:12:02 +00:00
Sandor Molnar
e259e004de
Backed out 3 changesets (bug 1729236) for causing reftest failures in layout/reftests/svg/filters/filter-giant.
...
Backed out changeset 1333d00d417c (bug 1729236)
Backed out changeset a3021a3499e1 (bug 1729236)
Backed out changeset 49a5aa4c8eb7 (bug 1729236)
2021-09-06 19:31:31 +03:00
Matt Woodrow
47cbc38463
Bug 1729236 - Remove GetPaintRect. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D124590
2021-09-06 06:26:08 +00:00
Matt Woodrow
42dfbb387c
Bug 1729236 - Don't use GetPaintRect for painting text. r=jrmuizel
...
Text is the exception, where clipping the WR commands to the paint rect can let us reduce the size sent.
We want to avoid this when doing fallback painting, since we don't want to have to track paint rect changes for invalidation.
Differential Revision: https://phabricator.services.mozilla.com/D124589
2021-09-06 06:26:08 +00:00
Matt Woodrow
3cdf8e4aeb
Bug 1729236 - Don't use GetPaintRect for CreateWebRenderCommands. r=jrmuizel
...
WebRender prefers to know the full bounds of the primitive, since it makes invalidation easier (and doesn't increase the size of the commands we send).
Differential Revision: https://phabricator.services.mozilla.com/D124588
2021-09-06 06:26:07 +00:00
Iulian Moraru
80b969f9fe
Backed out 3 changesets (bug 1729236) for causing multiple failures. CLOSED TREE
...
Backed out changeset 8ebf965d624b (bug 1729236)
Backed out changeset 0d26dce41a12 (bug 1729236)
Backed out changeset bf228d1f3b49 (bug 1729236)
2021-09-06 07:32:43 +03:00
Matt Woodrow
0b4541468e
Bug 1729236 - Remove GetPaintRect. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D124590
2021-09-06 03:42:26 +00:00
Matt Woodrow
d84885ee2a
Bug 1729236 - Don't use GetPaintRect for painting text. r=jrmuizel
...
Text is the exception, where clipping the WR commands to the paint rect can let us reduce the size sent.
We want to avoid this when doing fallback painting, since we don't want to have to track paint rect changes for invalidation.
Differential Revision: https://phabricator.services.mozilla.com/D124589
2021-09-06 03:42:26 +00:00
Matt Woodrow
87fc1d4890
Bug 1729236 - Don't use GetPaintRect for CreateWebRenderCommands. r=jrmuizel
...
WebRender prefers to know the full bounds of the primitive, since it makes invalidation easier (and doesn't increase the size of the commands we send).
Differential Revision: https://phabricator.services.mozilla.com/D124588
2021-09-06 03:42:25 +00:00
Matt Woodrow
d41e38aec0
Bug 1727682 - Make WebRenderLayerManager not inherit LayerManager. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D124433
2021-09-05 22:36:45 +00:00
Matt Woodrow
5fa3be57b1
Bug 1728925 - Convert IsImageContainerAvailable to use WindowRenderer. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D124427
2021-09-05 22:36:45 +00:00