Timothy Nikkel
0039c265e2
Bug 1878545. Allow debug dump of display item without having a display list builder pointer. r=layout-reviewers,emilio
...
Sometimes a display list builder pointer is not easily available and we can still dump a lot of useful information without one.
Differential Revision: https://phabricator.services.mozilla.com/D200578
2024-02-04 11:01:37 +00:00
Miko Mynttinen
51509b1bf7
Bug 1751587 - Fix compiler warning r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D136731
2022-01-24 14:48:13 +00:00
Miko Mynttinen
a65a273fd8
Bug 1697979 - Part 1: Reuse previously built stacking context display items without merging r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D128413
2022-01-22 02:37:31 +00:00
Alexandru Michis
dce8504d76
Backed out 3 changesets (bug 1697979) for causing reftest failures in retained-dl-displayport-1.html
...
Backed out changeset e4248d811360 (bug 1697979)
Backed out changeset db3882cc536c (bug 1697979)
Backed out changeset ea7ce38abaab (bug 1697979)
2022-01-21 04:01:27 +02:00
Miko Mynttinen
55ab9e83dd
Bug 1697979 - Part 1: Reuse previously built stacking context display items without merging r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D128413
2022-01-21 00:43:34 +00:00
Noemi Erli
47edcb7964
Backed out 3 changesets (bug 1697979) for causing reftest failures CLOSED TREE
...
Backed out changeset 4edb10a45d13 (bug 1697979)
Backed out changeset 456b57492294 (bug 1697979)
Backed out changeset 1cb3b14f2f6c (bug 1697979)
2022-01-20 22:25:00 +02:00
Miko Mynttinen
cc5862abeb
Bug 1697979 - Part 1: Reuse previously built stacking context display items without merging r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D128413
2022-01-20 18:38:59 +00:00
Matt Woodrow
aec8acfc5f
Bug 1714138 - Remove AnimatedGeometryRoot. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D124154
2021-09-15 08:31:05 +00:00
Matt Woodrow
76294f9cfd
Bug 1542929 - Remove mReferenceFrame from nsDisplayItem. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124009
2021-09-13 05:01:35 +00:00
criss
3f0efebda9
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
a59b9e880b
Bug 1714138 - Remove AnimatedGeometryRoot. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D124154
2021-09-10 03:43:35 +00:00
Matt Woodrow
566cb8c6f9
Bug 1542929 - Remove mReferenceFrame from nsDisplayItem. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D124009
2021-09-10 03:43:34 +00:00
Marian-Vasile Laza
da24ed0855
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
a1944c5dc5
Bug 1714138 - Remove AnimatedGeometryRoot. r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D124154
2021-09-06 23:12:05 +00:00
Matt Woodrow
af4b5ca97b
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
4883cc6406
Bug 1728709 - Add nsDisplayItem::GetPaintRect that computes a value using the current clip extents. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D124299
2021-09-03 18:58:18 +00:00
Matt Woodrow
eea082d1f2
Bug 1726291 - Remove FrameLayerBuilder. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D122930
2021-08-23 03:07:31 +00:00
Cosmin Sabou
1efa0d3a4e
Backed out changeset e111894317cc (bug 1726291) for causing assertion failures on WebRenderCommandBuilder.cpp. CLOSED TREE
2021-08-20 06:22:40 +03:00
Matt Woodrow
2a95268df2
Bug 1726291 - Remove FrameLayerBuilder. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D122930
2021-08-20 02:20:39 +00:00
Miko Mynttinen
e08ed6616a
Bug 1720711 - Remove most nsDisplayItem::GetAbove() calls r=mattwoodrow
...
Replaces direct linked list traversals with iterators.
Differential Revision: https://phabricator.services.mozilla.com/D119985
2021-07-16 10:55:03 +00:00
Miko Mynttinen
2a9ddf1b3b
Bug 1534549 - Part 4: Shrink nsDisplayCompositorHitTestInfo r=mstange
...
These changes make nsDisplayCompositorHitTestInfo inherit directly from nsDisplayItem, which should shrink it slightly. This also simplifies the logic: hit testing information is now available at nsDisplayItem level as opposed to nsPaintedDisplayItem.
Differential Revision: https://phabricator.services.mozilla.com/D103773
2021-02-06 22:30:57 +00:00
Miko Mynttinen
789624124c
Bug 1534549 - Part 2: Allow all display items to carry hit testing information r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D102515
2021-02-06 22:30:37 +00:00
Miko Mynttinen
47065c9ef0
Bug 1534549 - Part 1: Remove old FLB hit test info optimization r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D102514
2021-02-06 22:30:29 +00:00
Noemi Erli
7a889dfac8
Backed out 4 changesets (bug 1534549) for causing mochitest failures in test_group_wheelevents.html CLOSED TREE
...
Backed out changeset a03c745620d6 (bug 1534549)
Backed out changeset 2ac9c5dbe9f5 (bug 1534549)
Backed out changeset dabd0c5d21cf (bug 1534549)
Backed out changeset f1b390459263 (bug 1534549)
2021-02-05 02:41:19 +02:00
Miko Mynttinen
ae56c766ec
Bug 1534549 - Part 4: Shrink nsDisplayCompositorHitTestInfo r=mstange
...
These changes make nsDisplayCompositorHitTestInfo inherit directly from nsDisplayItem, which should shrink it slightly. This also simplifies the logic: hit testing information is now available at nsDisplayItem level as opposed to nsPaintedDisplayItem.
Differential Revision: https://phabricator.services.mozilla.com/D103773
2021-02-04 22:20:13 +00:00
Miko Mynttinen
e379309069
Bug 1534549 - Part 2: Allow all display items to carry hit testing information r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D102515
2021-02-04 22:19:56 +00:00
Miko Mynttinen
7dff61e275
Bug 1534549 - Part 1: Remove old FLB hit test info optimization r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D102514
2021-02-02 14:30:13 +00:00
Kagami Sascha Rosylight
5f988b0085
Bug 1630704 - Part 28: Remove nsFrame r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D81865
2020-07-06 22:38:11 +00:00
Kagami Sascha Rosylight
fef21d10a9
Bug 1630704 - Part 7: Move layout debugging methods to nsIFrame r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D75075
2020-05-13 18:24:45 +00:00
Miko Mynttinen
7edd6dcbd1
Bug 1612895 - Rename nsDisplayHitTestInfoItem to nsDisplayHitTestInfoBase r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D61472
2020-02-04 22:01:48 +00:00
Cameron McCormack
8080613a69
Bug 1566215 - Part 2: Merge nsILayoutDebugger functionality into nsLayoutDebuggingTools. r=dbaron
...
Differential Revision: https://phabricator.services.mozilla.com/D38412
2019-07-22 04:48:33 +00:00
Emilio Cobos Álvarez
9a868c0332
Bug 1550554 - Use OwnedSlice for will-change. r=heycam
...
We could use ArcSlice if wanted I guess, your call. Though will change is not
supposed to be used very frequently.
Differential Revision: https://phabricator.services.mozilla.com/D30548
2019-05-16 23:23:28 +00:00
Ciure Andrei
0cdc899d9a
Backed out 17 changesets (bug 1550554, bug 1549593, bug 1551991, bug 1529002) for failing multiple Android tests and Windows 2012 bustages CLOSED TREE
...
Backed out changeset 3bb3fafa62e2 (bug 1551991)
Backed out changeset e12a979de502 (bug 1551991)
Backed out changeset d81e4aa6bf0c (bug 1551991)
Backed out changeset c354e61f2a34 (bug 1551991)
Backed out changeset 37fd602bebc2 (bug 1551991)
Backed out changeset 6c1f00cc30ca (bug 1551991)
Backed out changeset 8a7a0329bdc3 (bug 1551991)
Backed out changeset 86159475ddd3 (bug 1551991)
Backed out changeset 35f91a9ea82a (bug 1529002 )
Backed out changeset 6798155e71dc (bug 1529002 )
Backed out changeset b90c2cf5b8c5 (bug 1550554)
Backed out changeset 882ab9868c95 (bug 1550554)
Backed out changeset b28a48e2ed21 (bug 1550554)
Backed out changeset 2c31fe18eefd (bug 1550554)
Backed out changeset 57f2362aa538 (bug 1550554)
Backed out changeset 45f171b26e95 (bug 1550554)
Backed out changeset 2e4b263c9410 (bug 1549593)
2019-05-16 13:17:10 +03:00
Emilio Cobos Álvarez
5308c6a314
Bug 1550554 - Use OwnedSlice for will-change. r=heycam
...
We could use ArcSlice if wanted I guess, your call. Though will change is not
supposed to be used very frequently.
Differential Revision: https://phabricator.services.mozilla.com/D30548
2019-05-16 16:24:31 +02:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Miko Mynttinen
c37d11a268
Bug 1503046 - Part 2: Introduce HitTestInfo and nsDisplayHitTestInfoItem, and make container items and nsDisplayCompositorHitTestInfo use them r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D10131
2018-11-02 02:19:03 +00:00
Jonathan Watt
10bd85be84
Bug 1494285 p3. Rename nsDisplayFilter to nsDisplayFilters. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D7008
2018-08-30 13:15:47 +01:00
Jonathan Watt
23e20d4285
Bug 1494285 p2. Rename nsDisplayMask to nsDisplayMasksAndClipPaths. r=miko
...
Differential Revision: https://phabricator.services.mozilla.com/D7007
2018-08-30 10:51:24 +01:00
Matt Woodrow
f70211579d
Bug 1475971 - Copy the building rect into old items when we decide we can reuse them. r=miko
...
MozReview-Commit-ID: JXHZ17iFaei
2018-07-30 16:03:32 +12:00
Kartikaya Gupta
5817e35f01
Bug 1475637 - Add a mechanism for dumping an interleaved display list. r=jrmuizel
...
The prefs, when enabled, will dump the gecko DL items followed by the
WR DL items that were generated from that gecko item. This allows us to
easily go from a DOM element with known id/class attributes to e.g. an
ImageKey of an image that was generated for that element.
Also, this logging can be enabled in CI builds just like gecko display-list
dumping, instead of the ifdef that we previously had in WebRenderLayerManager.
MozReview-Commit-ID: Eeo4iO62YY1
2018-07-19 15:30:30 -04:00
Matt Woodrow
b64969f18b
Bug 1460491 - Part 1: Split nsDisplayItem::mVisibleRect into two members, one for each stated purpose. Gets rid of the save/restore since we no longer modify the building rect. r=jnicol
...
MozReview-Commit-ID: 5wcsSoZRN44
2018-05-16 15:56:32 +12:00
Chris Peterson
5d6b16ea3b
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
2018-04-28 12:50:58 -07:00
Chris Peterson
20b28f1d54
Bug 1443402 - Fix some -Wmissing-prototypes warnings in layout. r=dholbert
...
-Wmissing-prototypes is a new optional warning available in clang ToT. It warns about global functions that have no previous function declaration (e.g. from an #included header file). These functions can probably be made static (allowing the compiler to better optimize them) or they may be unused.
Confusingly, clang's -Wmissing-prototypes is equivalent to gcc's -Wmissing-declarations, not gcc's -Wmissing-prototypes. A function prototype is a function declaration that specifies the function's argument types. C++ requires that all function declarations specify their argument types, but C does not. As such, gcc's -Wmissing-prototypes is a C-only warning about C functions that have no previous function *prototypes* (with argument types), even if a previous function *declaration* (without argument types) was seen.
MozReview-Commit-ID: FGKVLzeQ2oK
2018-02-22 21:03:45 -08:00
Masatoshi Kimura
3d970b96a6
Bug 1442266 - Stop including unnecessary <iostream>. r=froydnj
...
MozReview-Commit-ID: B0JDqyBanFE
2018-03-01 23:07:56 +09:00
Daniel Holbert
8fea3c215f
Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: EuRsDue63tK
2017-10-27 10:33:53 -07:00
Matt Woodrow
346eac4d3c
Bug 1404181 - Part 13: Expose DisplayItemData better from FrameLayerBuilder so we can query the geometry (for sync decode invalidations). r=mstange
...
MozReview-Commit-ID: 43oxBMdRRTK
2017-09-28 13:43:11 +13:00
Matt Woodrow
8370362323
Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange
...
* * *
[mq]: fix
MozReview-Commit-ID: LUXZAIL73BJ
2017-08-07 16:07:43 +12:00
Sebastian Hengst
1e52933103
Backed out changeset e9985564e081 (bug 1388162) for failing chrome's test_animation_performance_warning.html | preserve-3d transform. r=backout
2017-08-10 14:40:20 +02:00
Matt Woodrow
b0bdae09c7
Bug 1388162 - Add a Destroy function to nsDisplayItem to use instead of manually invoking the destructor, this will allow us to recycle them in the future. r=mstange
2017-08-07 16:07:43 +12:00
Xidorn Quan
eeb451c4a2
Bug 1345804 part 3 - Change will-change to store nsIAtom rather than nsString. r=heycam
...
MozReview-Commit-ID: 5ISVZwKw6LI
2017-03-10 12:26:53 +11:00