Commit Graph

185 Commits

Author SHA1 Message Date
Matt Woodrow
e588868217 Bug 1411856 - Make sure we add to the display list building area when marking a caret frame as invalid. r=ethlin
MozReview-Commit-ID: GA3pObvoPz3

--HG--
extra : rebase_source : a39c19bd653ece832436900b14468c21dd423600
2017-10-26 22:02:05 +13:00
Sebastian Hengst
443416f881 Merge mozilla-central to autoland. r=merge a=merge 2017-10-26 00:39:55 +02:00
Kartikaya Gupta
bec5f23434 Bug 1411238 - Make APZ test logging work in layers-free WR mode. r=botond
Most of this change is just fiddling with function signatures so that they take
a LayerManager* instead of a Layer* (or in some cases, both). This allows
the WebRender codepaths to pass a WebRenderLayerManager* instead of having to
produce a Layer* which it doesn't have.

MozReview-Commit-ID: Fb0C8OUVDin

--HG--
extra : rebase_source : e4c3324cfa20c295db85d5c09df8d8d77865bb6a
2017-10-25 13:22:04 -04:00
Brad Werth
aefd6655a8 Bug 1411050 Part 1: Change nsDisplayListBuilder to mark hitests either for visibility or for pointer events. r=mattwoodrow
MozReview-Commit-ID: AbYcm2gwEES

--HG--
extra : rebase_source : 589ca29f84df183df86572a3f24476d6a9b7a4ad
2017-10-24 15:03:56 -07:00
Matt Woodrow
d3a34e5fa5 Bug 1402202 - Make FrameProperties::DeleteAll handle the case where deletion of a property triggers deletion of another. r=mats 2017-10-25 12:10:53 +13:00
Ethan Lin
d79d047899 Bug 1411468 - Make display marker able to cross documents. r=mattwoodrow
MozReview-Commit-ID: GuHNVxWFuLm
2017-10-25 18:10:04 +08:00
Miko Mynttinen
27b7485c40 Bug 1410906 - Store ThemeGeometry for display item instead of frame r=mattwoodrow
MozReview-Commit-ID: 6x7GRRTEVja

--HG--
extra : rebase_source : 3dc139938317e00b4f96498f1c1f84826fc64755
2017-10-23 18:07:36 +02:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
e97adfa0ce Bug 1404181 - Part 27: Add some retained-dl debugging tools. r=mstange
MozReview-Commit-ID: EQO1lAbUnpY

--HG--
extra : rebase_source : a11bfd8055bd83e9215211a4e48d43735d7010ba
2017-10-21 16:54:24 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
efab685984 Bug 1404181 - Part 24: Rebuild all display items when we encounter a blend mode, since we can't easily track changes to whether we need the blend container or not. r=mstange
MozReview-Commit-ID: 9vw1vgDUp60

--HG--
extra : rebase_source : 13e83b57da66c78e0a50268b1bb760e0f57399bf
2017-09-29 10:56:31 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
6b56c65932 Bug 1404181 - Part 21: Add RetainedDisplayListBuilder with the code for doing partial display list builds, and merging it into an existing display list. r=mstange
MozReview-Commit-ID: 8pZG5xq3nSB

--HG--
extra : rebase_source : d17c49b0602d750cc6d0f018f88745cd0ff4d0d2
2017-10-18 16:09:07 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
396cd36361 Bug 1404181 - Part 20: Add code to override the display list builder dirty area for a stacking context or displayport. This lets us restrict partial building to within one of these contexts. r=mstange
MozReview-Commit-ID: Dn46eaqeyPX

--HG--
extra : rebase_source : b27538ae5bef1b468ed6d8d3ac403e34f54f87c0
2017-09-28 14:23:03 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
b8eada5d39 Bug 1404181 - Part 19: Some items don't use style data from mFrame, so add overrides that let us check the right frame when determining if an item is invalid. r=mstange
MozReview-Commit-ID: Cvsf4xRFucp

--HG--
extra : rebase_source : 3c97c76be0619a05db803bacac504a3ef74a8fe4
2017-09-28 14:15:15 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
44306f18ff Bug 1404181 - Part 18: Use nsPresArena for the display list builder arena since it supports recycling. r=mstange
MozReview-Commit-ID: LDzkGnCeU7L

--HG--
extra : rebase_source : 5371c609fca9a1c37121c4b2c5dd8ae5a72a408e
2017-10-18 16:08:48 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
57c2ad8249 Bug 1404181 - Part 17: Track will-change contributions per-frame so that can remove contributions from invalidated frames. r=mstange
MozReview-Commit-ID: 54LwXKkjfFX

--HG--
extra : rebase_source : da30652842727f5b22174c3c5059a01b48a36a59
2017-09-28 13:53:25 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
cf6783b5b3 Bug 1404181 - Part 16: Track window dragging area contributions per-frame so that can remove contributions from invalidated frames. r=mstange
MozReview-Commit-ID: 5bFYV4wSZa

--HG--
extra : rebase_source : 9c213524962be5af03ffc0ae071f60c490d5be58
2017-09-28 13:50:12 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
2cc4d6f2d0 Bug 1404181 - Part 15: Add the notion of 'modified' frames, that need new display items built for them (and all their descendants). r=mstange
MozReview-Commit-ID: 66vbfSDeOpK

--HG--
extra : rebase_source : b490e72e7061e64abf169db55731fe9424d6b442
2017-09-28 14:20:13 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
b8b861f1c7 Bug 1404181 - Part 14: Add a bunch of new helpers to display list builder and display item for retaining and reusing items. r=mstange
MozReview-Commit-ID: AyiVFa6kofu

--HG--
extra : rebase_source : 90584ee951e59d048fc5500c5cdb4372ee9daba1
2017-09-28 14:07:39 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
0488542fd6 Bug 1404181 - Part 11: Factor out PresShell paint count code se we can still call it without needing to build the display items. r=mstange
MozReview-Commit-ID: Ai4P92dd1zR

--HG--
extra : rebase_source : f6d23e5500316471e2c22d79babc128961e0d1c6
2017-09-28 08:41:57 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
740537f943 Bug 1404181 - Part 10: Track theme geometry contributions per-frame so that can remove contributions from invalidated frames. r=mstange
MozReview-Commit-ID: JjTOGiaeWAn

--HG--
extra : rebase_source : 0e2dc01cb97d4f50373dcfcb3da24ce3c10d4abc
2017-09-28 08:41:47 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
31f97ddc43 Bug 1404181 - Part 8: Add refcounting for clip chains. r=mstange
MozReview-Commit-ID: 9CIwJZ7ssqC

--HG--
extra : rebase_source : 8e0e6a21571d352017922bb51c3f5c4e65c7a263
2017-09-27 17:10:16 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
7aeb11cd77 Bug 1404181 - Part 6: Compute and store the frame that contributed the style data for backgrounds so that we can invalidate the display item when either frame changes. r=mstange
MozReview-Commit-ID: 7Q3J6AH0Ipg

--HG--
extra : rebase_source : 540b2870446b773cb36bd20ccbe584b3fb06f693
2017-10-04 15:02:45 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
fd73cf2b01 Bug 1404181 - Part 5: Store an annotated list of rectangles in nsDisplayLayerEventRegions so that we can remove contributions that belong to invalidated frames. r=mstange
MozReview-Commit-ID: G2kTPnrhxs4

--HG--
extra : rebase_source : 9902d33d1e7e28bfd1d6a5ed4e780262fce0b749
2017-10-21 21:01:50 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
df083508bc Bug 1404181 - Part 4: Add code to save and restore changes made to display items during FrameLayerBuilder so that we can use them again. r=mstange
MozReview-Commit-ID: 23WqS2Xv3Qx

--HG--
extra : rebase_source : 37a7ecbb256df5a726363dd1c5478c94dd08d6ce
2017-09-27 16:55:11 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
b1280ebc2c Bug 1404181 - Part 3: Track the current set of alive display items on nsIFrame. r=mstange
MozReview-Commit-ID: BgB1XBMpJ8t

--HG--
extra : rebase_source : 2528eeadfbd0edca54efde8f5d427abd8e29f16d
2017-09-27 15:35:29 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
31e9b3f8cd Bug 1404181 - Part 2: Track a 'visible' rect for display list building as well as the 'dirty' rect, so that we can do partial building by specifying a smaller 'dirty' rect. r=mstange
MozReview-Commit-ID: 7DUV9dl4zb1

--HG--
extra : rebase_source : e7bf5eacba44ce9cf77c55d623edef33a85f0492
2017-10-04 14:28:38 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
1f861fe60c Bug 1404181 - Part 1: Make AnimatedGeometryRoot/ActiveScrolledRoot retained and refcounted on the heap. r=mstange
MozReview-Commit-ID: Gcm5pOAdCeI

--HG--
extra : rebase_source : c5b3df4e683b98f15fefa65b7c9b10bd47acb7ed
2017-09-27 12:24:42 +13:00
Lee Salzman
6235863fa6 Bug 1408481 - pass AA via GlyphOptions to WR PushGlyphs. r=gankro
MozReview-Commit-ID: LVieyPaaouc
2017-10-19 22:54:28 -04:00
Botond Ballo
7ae9b1955e Bug 1409147 - Do not merge an nsDisplayBlendContainer item that is for the background with one that is not. r=mattwoodrow
MozReview-Commit-ID: 46tT4s5rJ04

--HG--
extra : rebase_source : 3bd023e7c8de1b7310ba2a1c2c71735a061cc680
2017-10-16 19:48:09 -04:00
Matt Woodrow
8b1212fa67 Bug 1407815 - Allow merging of items that are in different wrap lists. r=miko 2017-10-17 15:16:28 +13:00
Phil Ringnalda
98bf044371 Backed out changeset 78f548e4f687 (bug 1407815) for QR reftest failures in 660682-1.html
MozReview-Commit-ID: C2iSNkCRItc
2017-10-16 21:08:32 -07:00
Matt Woodrow
e6dae55b23 Bug 1406727 - Bustage fix on a CLOSED TREE
--HG--
extra : rebase_source : 598703a2a4a94d7075e979ef202f91d26038ca40
2017-10-17 16:17:51 +13:00
Matt Woodrow
d8a662f0d2 Bug 1406727. r=mstange,froydnj a=abillings
--HG--
extra : rebase_source : a9932eb10d3ca451e1ce3a424cd48e957801f593
2017-10-17 15:19:44 +13:00
Matt Woodrow
158323e770 Bug 1407815 - Allow merging of items that are in different wrap lists. r=miko
--HG--
extra : rebase_source : 0e1e08b805a07ac1279757f810235d0bfe718714
2017-10-17 15:16:28 +13:00
Jonathan Watt
30d24c5be9 Bug 1405684 - Remove AutoBuildingDisplayList::GetPrevAnimatedGeometryRoot. r=mattwoodrow 2017-09-25 08:42:05 +01:00
Jonathan Watt
8ee38b40e9 Bug 1405699 - Make the nsDisplayOwnLayer copy constructor copy the member mWrAnimationId. r=mattwoodrow
MozReview-Commit-ID: EF7EVnDPSqi

--HG--
extra : rebase_source : 189d512a5051a290d8fc27852f68cd18b647abbb
2017-09-20 16:01:33 +01:00
Jonathan Watt
8e6d4b8c02 Bug 1405694 - Initialize mPainted in the nsDisplayItem constructor that takes an nsDisplayItem reference. r=miko
MozReview-Commit-ID: FBMuWducUvc

--HG--
extra : rebase_source : 0e2ebe88fc4ce3882ec13677275ce4a23507576b
2017-09-20 10:39:11 +01:00
Jonathan Watt
2d1e22f9f3 Bug 1405692 - Make sure mAnimatedGeometryRoot is initialized to nullptr in the rarely used nsDisplayItem ctor that takes an nsIFrame*. r=mattwoodrow
MozReview-Commit-ID: 9pp1mrAuqQ0

--HG--
extra : rebase_source : 6ae7d48a9caab2728cb04d9d5c31e13f3adfbaa8
2017-09-20 09:38:11 +01:00
Jonathan Watt
e114ddfc9d Bug 1405689 - Remove nsDisplayListBuilder::mAccurateVisibleRegions. r=mattwoodrow
MozReview-Commit-ID: 7xYbDiRcKeR

--HG--
extra : rebase_source : f9e65b0a9d679292b1d68de5e95f53b05bc0d244
2017-09-18 11:45:17 +01:00
Kartikaya Gupta
2f1948343f Bug 1403915 - Remove the WebRender*Layer classes and functions that refer to them. r=jrmuizel
MozReview-Commit-ID: 2syFwMc7j3r

--HG--
extra : rebase_source : 9a3852506820eb09328d91007581d74786eba9b0
2017-10-03 16:31:08 -04:00
Kartikaya Gupta
dbe077b3f1 Bug 1403915 - Remove the IsLayersFreeTransaction() machinery and assume it's always true. r=jrmuizel
MozReview-Commit-ID: 7FYVirQ5pal

--HG--
extra : rebase_source : 4b33fba54776003b4f0d45b89be07916db1f2340
2017-10-03 16:31:07 -04:00
Timothy Nikkel
b6711be167 Bug 1364295. Walk the frame tree looking for a scrollframe to add a displayport to, or one that already has a displayport before displaylist building. r=mstange
And stop creating displayports during display list building.

One thing we can investigate in the future is whether we should use the value of mHaveScrollableDisplayPort stored on the display list builder retained between paints. If it's true then we could potentially skip this pass. It would mean that if there are large changes to the page we wouldn't set a displayport. And we'd need to make sure the value is cleared when we load a new page.
2017-05-19 17:04:19 -05:00
Timothy Nikkel
9b61794af5 Bug 1402203 - Add a new layout phase for displaylist building. r=mstange 2017-09-26 15:57:57 +13:00
Kartikaya Gupta
da21f7fca0 Bug 1399505 - Generate WR sticky frames from nsDisplayStickyPosition display items. r=mstange
MozReview-Commit-ID: 4ZCcdlBtEGi

--HG--
extra : rebase_source : 435696d31faef583f8abf3267a14b4699c449716
2017-09-21 10:11:41 -04:00
Phil Ringnalda
8803c424ae Backed out 2 changesets (bug 1399505) for build bustage when it met a merge from m-c
CLOSED TREE

Backed out changeset fd7e2ce2fc92 (bug 1399505)
Backed out changeset 40af6e459538 (bug 1399505)

MozReview-Commit-ID: 5bGfy88JRUb
2017-09-20 18:58:41 -07:00
Wes Kocher
1ea82f66aa Merge m-c to autoland, a=merge
MozReview-Commit-ID: AHxJvcR2Tpa
2017-09-20 17:47:16 -07:00
Wes Kocher
a6b8d9e91b Merge inbound to central, a=merge
MozReview-Commit-ID: JpqY5uEi1nf
2017-09-20 17:18:21 -07:00
Nicolas Silva
61546da339 Bug 1393031 - Remove unused nsTArray<WebRenderParentCommand>& parameter all over the place. r=jrmuizel 2017-09-20 13:36:53 +02:00
Miko Mynttinen
9610cd5337 Bug 1379406 - Store DisplayItemClipChains in AutoTArray with a larger initial size r=mstange
MozReview-Commit-ID: BXR6bVSzVTN

--HG--
extra : rebase_source : 0f8e281f9e693c4f4d9735375ee1e1cc36ddd31e
2017-08-01 14:38:27 +02:00
Nicolas Silva
9ffda11244 Bug 1393031 - Use IpcResourceUpdateQueue in more places. r=jrmuizel 2017-09-20 10:56:20 +02:00
Sebastian Hengst
ec66bbd3e1 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4dRrVdftJVy
2017-09-15 11:05:11 +02:00