Граф коммитов

1671 Коммитов

Автор SHA1 Сообщение Дата
Jeff Muizelaar d5395c6733 Bug 1582810. Drop clipped group bounds hack. r=aosmond
We don't need this anymore now that we're always
using the visible rect.

This requires bug 1582528 to properly set the visible area.

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

--HG--
extra : moz-landing-system : lando
2019-09-21 01:11:56 +00:00
Oana Pop Rus fb8920ea20 Backed out changeset 1a8f6cac81c5 (bug 1582810) for reftest failures in img-widthAndHeight-slice-1.html on a CLOSED TREE 2019-09-20 23:35:45 +03:00
Jeff Muizelaar 2417420ffc Bug 1582810. Drop clipped group bounds hack. r=aosmond
We don't need this anymore now that we're always
using the visible rect.

This requires bug 1582528 to properly set the visible area.

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

--HG--
extra : moz-landing-system : lando
2019-09-20 17:38:52 +00:00
Gerald Squelart dc8ac83ba6 Bug 1578329 - Use profiler_can_accept_markers() where appropriate - r=gregtatum
In places where profiler_is_active() was used around a profiler_add_marker() (or
similar) call, replace it with profiler_can_accept_markers().

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

--HG--
extra : moz-landing-system : lando
2019-09-18 01:22:12 +00:00
Gerald Squelart fc93e3d9da Bug 1575448 - De/serialize ProfilerMarkerPayload derived objects - r=gregtatum
Payloads will serialize themselves into a `BlocksRingBuffer` entry when first
captured.
Later they will be deserialized, to stream JSON for the output profile.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 01:20:10 +00:00
Jeff Muizelaar f29ce99be0 Bug 1581953. Don't invalidate everything when the visible rect changes.
Differential Revision: https://phabricator.services.mozilla.com/D46218

--HG--
extra : moz-landing-system : lando
2019-09-17 20:06:39 +00:00
Jeff Muizelaar db1c09ed99 Bug 1580062. Fixup invalidation for resize. r=nical
This works by keeping track of the previous visible rect and
computing a preserved rect by intersecting with the new visible
rect.

We force the dirty rect to be inside this preserved area.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 19:59:29 +00:00
Jamie Nicol 35886dcefd Bug 1580153 - Call NotifyFirstPaint on next composite after RecvResumeAndResize. r=jrmuizel
Previously after RecvResumeAndResize() we would set a flag on the root
WebRenderBridgeParent, which in turn sets a flag on the next display list it
receives that it should be treated as a first paint. Then when that display list
is finally composited, we call UiCompositorControllerParent::NotifyFirstPaint(),
which in turn tells GeckoView to uncover the widget.

After switching tabs in GeckoView browsers, however, the root
WebRenderBridgeParent does not always receive a new display list, so the widget
would not be uncovered. Instead of waiting for the next received display list to
be composited, we simply want to uncover the widget on the next composite. To
achieve this we instead set the forced-first-paint flag on the root
CompositorBridgeParent then we call NotifyFirstPaint() during
CompositorBridgeParent::NotifyPipelineRendered().

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

--HG--
extra : moz-landing-system : lando
2019-09-17 14:57:59 +00:00
Nicolas Silva b80a2c908a Bug 1570081 - Put the blob dirty rect in the same space as the drawing commands and visible rect. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D43223

--HG--
extra : moz-landing-system : lando
2019-09-17 09:13:18 +00:00
Nicolas Silva dfe0f0cf10 Bug 1570081 - Don't insert blob images with empty visible rects. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D43222

--HG--
extra : moz-landing-system : lando
2019-09-17 09:13:06 +00:00
Bogdan Tara 361c83c1a9 Backed out 21 changesets (bug 1578327, bug 1575448, bug 1580091, bug 1576554, bug 1581049, bug 1576551, bug 1578329, bug 1576555) for platform.cpp related bustage CLOSED TREE
Backed out changeset 27afea20c396 (bug 1581049)
Backed out changeset be1ec4577d37 (bug 1581049)
Backed out changeset b4b6bbb18cc1 (bug 1581049)
Backed out changeset b30942f9db54 (bug 1581049)
Backed out changeset 473c431866f7 (bug 1578329)
Backed out changeset ac492dc3df20 (bug 1578329)
Backed out changeset f51875652f6f (bug 1578327)
Backed out changeset 512b7cbd18f6 (bug 1576555)
Backed out changeset 2d63a9934c00 (bug 1576555)
Backed out changeset ff73f648ab6c (bug 1576555)
Backed out changeset 49f49079bbb5 (bug 1576555)
Backed out changeset e8323157c6f3 (bug 1575448)
Backed out changeset 3b0d726f2dd6 (bug 1575448)
Backed out changeset 5924790abc4b (bug 1576554)
Backed out changeset a14ac9bb5338 (bug 1576554)
Backed out changeset b6d73f5042a7 (bug 1576551)
Backed out changeset 366030bd2d84 (bug 1576551)
Backed out changeset d7ee4148aad9 (bug 1576551)
Backed out changeset ec72dfc7301e (bug 1576551)
Backed out changeset 79b29286f906 (bug 1580091)
Backed out changeset 6f34c2e57ccf (bug 1580091)
2019-09-17 10:16:14 +03:00
Gerald Squelart 6b49069f3e Bug 1578329 - Use profiler_can_accept_markers() where appropriate - r=gregtatum
In places where profiler_is_active() was used around a profiler_add_marker() (or
similar) call, replace it with profiler_can_accept_markers().

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

--HG--
extra : moz-landing-system : lando
2019-09-17 01:53:56 +00:00
Gerald Squelart 5b86107991 Bug 1575448 - De/serialize ProfilerMarkerPayload derived objects - r=gregtatum
Payloads will serialize themselves into a `BlocksRingBuffer` entry when first
captured.
Later they will be deserialized, to stream JSON for the output profile.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 01:51:41 +00:00
Botond Ballo ad9e06d1e5 Bug 1578777 - Remove the builder parameter from nsDisplayFilters::CreateWebRenderCommands(). r=jrmuizel
It was unused.

Depends on D46057

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

--HG--
extra : moz-landing-system : lando
2019-09-16 21:50:16 +00:00
Botond Ballo 48a06f502f Bug 1578777 - Remove non-ASCII character from comment in WebRenderCommandBuilder.cpp. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D46057

--HG--
extra : moz-landing-system : lando
2019-09-16 21:57:56 +00:00
Andrew Osmond fce484c34f Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel
Rounding in layout pixels is very close to snapping in raster pixels if
there are no transforms involved. This is why it worked most of the time
and fell flat in many edge cases. In future parts of this series, we
will trust scene building and frame building to do the heavy lifting for
snapping purposes.

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

--HG--
extra : moz-landing-system : lando
2019-09-14 16:17:04 +00:00
Ciure Andrei a4046ec458 Backed out 6 changesets (bug 1574493) for causing nested-sticky-2.html to perma fail CLOSED TREE
Backed out changeset 358746636448 (bug 1574493)
Backed out changeset 34aef5498237 (bug 1574493)
Backed out changeset 1f88e2031c76 (bug 1574493)
Backed out changeset 07c588b5ea10 (bug 1574493)
Backed out changeset 0685e8d3510e (bug 1574493)
Backed out changeset 15d4390220c4 (bug 1574493)
2019-09-13 19:26:50 +03:00
Andrew Osmond 25866edb78 Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel
Rounding in layout pixels is very close to snapping in raster pixels if
there are no transforms involved. This is why it worked most of the time
and fell flat in many edge cases. In future parts of this series, we
will trust scene building and frame building to do the heavy lifting for
snapping purposes.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 14:03:23 +00:00
Ciure Andrei 8c3feea58a Backed out 6 changesets (bug 1574493) for causing nested-sticky-1.html to perma fail CLOSED TREE
Backed out changeset fdc25a90b0ef (bug 1574493)
Backed out changeset 0ce3c48c1f79 (bug 1574493)
Backed out changeset 326b9f96614b (bug 1574493)
Backed out changeset b0817c0aee77 (bug 1574493)
Backed out changeset 70d99c264df9 (bug 1574493)
Backed out changeset e5217ab4b668 (bug 1574493)
2019-09-13 16:17:47 +03:00
Andrew Osmond b2d4e121cb Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel
Rounding in layout pixels is very close to snapping in raster pixels if
there are no transforms involved. This is why it worked most of the time
and fell flat in many edge cases. In future parts of this series, we
will trust scene building and frame building to do the heavy lifting for
snapping purposes.

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

--HG--
extra : moz-landing-system : lando
2019-09-13 10:48:31 +00:00
Andreea Pavel 730793a2ef Backed out 5 changesets (bug 1570081) for assertion failure at WebRenderCommandBuilder.cpp on a CLOSED TREE
Backed out changeset 8d4baf4d063a (bug 1570081)
Backed out changeset 14a4451b2781 (bug 1570081)
Backed out changeset ba19640abf33 (bug 1570081)
Backed out changeset 214c815015a8 (bug 1570081)
Backed out changeset 548e4395ee1a (bug 1570081)
2019-09-13 11:24:59 +03:00
Nicolas Silva 04ec40580d Bug 1570081 - Put the blob dirty rect in the same space as the drawing commands and visible rect. r=jrmuizel
Depends on D43222

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

--HG--
extra : moz-landing-system : lando
2019-09-12 15:59:58 +00:00
Nicolas Silva 563b86112a Bug 1570081 - Don't insert blob images with empty visible rects. r=jrmuizel
Depends on D41389

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

--HG--
extra : moz-landing-system : lando
2019-09-12 15:53:41 +00:00
Gurzau Raul fe4bb6d539 Backed out 6 changesets (bug 1574493) for wrench failures at stacking-context-clip.yaml on a CLOSED TREE.
Backed out changeset 8a8736ac4e25 (bug 1574493)
Backed out changeset 4a3294e88823 (bug 1574493)
Backed out changeset 0c26ecdc1ddc (bug 1574493)
Backed out changeset 11257f7b3ad3 (bug 1574493)
Backed out changeset dcedc286ad9d (bug 1574493)
Backed out changeset 87f216e0753d (bug 1574493)
2019-09-12 18:34:07 +03:00
Andrew Osmond 320cbbf828 Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel
Rounding in layout pixels is very close to snapping in raster pixels if
there are no transforms involved. This is why it worked most of the time
and fell flat in many edge cases. In future parts of this series, we
will trust scene building and frame building to do the heavy lifting for
snapping purposes.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:41 +00:00
Hiroyuki Ikezoe 5221523b46 Bug 1541705 - Introduce remote document rect. r=botond
The rect will be used for calculating the result of the composition of the
remote display item on the compositor.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 08:08:32 +00:00
Jeff Muizelaar ecc722c789 Bug 1568227. Change to using the visual rect for the blob bounds. r=nical
This also makes sure that we invalidate for any visible rect bounds changes.
This makes more sense even if it's more conservative.

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

--HG--
extra : moz-landing-system : lando
2019-09-10 17:48:43 +00:00
Jeff Muizelaar 3f94bd9625 Bug 1568227. Remove offset from visible rect. r=nical
This stops making the visible rect relative to the bounds of the image.

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

--HG--
extra : moz-landing-system : lando
2019-09-10 17:48:41 +00:00
Jeff Muizelaar 4e2ce23730 Bug 1568227. Use the visible rect as the display items bounds for fallback items. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45323

--HG--
extra : moz-landing-system : lando
2019-09-10 17:48:39 +00:00
Jeff Muizelaar 5ce9334259 Bug 1568227. Render blobs at visibleRect.x,y instead of 0,0. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45322

--HG--
extra : moz-landing-system : lando
2019-09-10 17:48:37 +00:00
Razvan Maries 913fce80bb Backed out 2 changesets (bug 1568227) for perma fails on paint-order-001.tentative.html. CLOSED TREE
Backed out changeset fef155ac9c60 (bug 1568227)
Backed out changeset bb324781c1e3 (bug 1568227)
2019-09-10 20:38:46 +03:00
Jeff Muizelaar c61d2bd386 Bug 1568227. Use the visible rect as the display items bounds for fallback items. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45323

--HG--
extra : moz-landing-system : lando
2019-09-10 15:14:37 +00:00
Jeff Muizelaar b74d61d223 Bug 1568227. Render blobs at visibleRect.x,y instead of 0,0. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D45322

--HG--
extra : moz-landing-system : lando
2019-09-10 15:12:05 +00:00
Jeff Muizelaar eeaaa467b6 Bug 1579405. Remove some debugging code added in bug 1493616. r=nical
This isn't needed any more and conflicts with the changes happening in bug 1579404

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

--HG--
extra : moz-landing-system : lando
2019-09-06 15:06:05 +00:00
Jeff Muizelaar 76625b1eb6 Bug 1579401. wr-blob: Merge if condition. r=nical
No need to check twice and this will make it cleaner when we change the condition.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 15:05:20 +00:00
Jeff Muizelaar 47c358dd9e Bug 1579397. wr-blob: Rename mPaintRect to mVisibleRect. r=nical
This moves it in line with the terminology used elsewhere.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 15:04:31 +00:00
Jeff Muizelaar 725bfc2aef Bug 1579231. Add some additional debugging output to blob grouping. r=mstange
Also rearranges some corresponding code.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 22:21:23 +00:00
Razvan Maries d1e676c8db Backed out changeset b83d5986ddf7 (bug 1579231) for build bustages on WebRenderCommandBuilder.cpp. CLOSED TREE 2019-09-06 00:38:06 +03:00
Jeff Muizelaar c64e7e7e52 Bug 1579233. wr-blob: Use aImageRect.TopLeft() directly instead of calling it offset. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D44906

--HG--
extra : moz-landing-system : lando
2019-09-05 21:16:43 +00:00
Jeff Muizelaar 3b01bda4c3 Bug 1579231. Add some additional debugging output to blob grouping. r=mstange
Also rearranges some corresponding code.

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

--HG--
extra : moz-landing-system : lando
2019-09-05 21:16:41 +00:00
Gerald Squelart e1481bf4bb Bug 1576550 - AUTO_PROFILER_STATS(add_marker...) - r=gregtatum
Gather stats for most calls to `profiler_add_marker()`, including the time to
allocate payloads if any.

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

--HG--
extra : moz-landing-system : lando
2019-09-04 07:58:21 +00:00
Sylvestre Ledru 843fae6aee Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in gfx/ r=nical
Differential Revision: https://phabricator.services.mozilla.com/D43776

--HG--
extra : moz-landing-system : lando
2019-08-28 21:31:26 +00:00
Jeff Muizelaar 25ba978024 Bug 1577190. Don't treat Mask items like Filter items in DetectContainerLayerPropertiesBoundsChange. r=nical,mstange
This is a remnant from the previous implementation of masking. That
implementation was replaced in bug 1447880.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:51:45 +00:00
sotaro dfe58e6580 Bug 1576073 - Clean up WebRenderImageHost a bit r=nical
Differential Revision: https://phabricator.services.mozilla.com/D43207

--HG--
extra : moz-landing-system : lando
2019-08-23 12:34:36 +00:00
sotaro c423c98aca Bug 1557858 - Add multiple WebRenderBridgeParents support in WebRenderImageHost r=nical
Uses wr::PipelineId to identify user of WebRenderImageHost.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 10:20:02 +00:00
Alexis Beingessner 31cd501ae3 Bug 1569131 - Also defer RecvParentCommands. r=jrmuizel
We defer ParentCommands when they come in attached to a display list,
but we forgot to defer them when they're sent directly. This was
causing us to crash when we defer updates that register textures
and the content process then suddenly decides we need to delete the
textures and only tells us through RecvParentCommands. We have no
idea what the textures are yet, so we need to defer these commands
along with everything else so that it's processed in the intended order.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 13:59:49 +00:00
Botond Ballo 86036ffa02 Bug 1574100 - For RefLayers with multiple metrics, only expose the event regions override for the bottom one. r=tnikkel
We only want the bottom LayerMetricsWrapper / WebRenderScrollDataWrapper to
be treated as a ref layer, and only ref layers have event regions overrides.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 20:23:11 +00:00
Sylvestre Ledru 645f2d5773 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-08-13 07:15:25 +00:00
Kris Taeleman ca9677ba54 Bug 1573255 - Add a comment to explain the bounds of blobs. r=jrmuizel
Steal Alexis' comment about blob bounds.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 20:10:18 +00:00
Alexis Beingessner 22dbda5b64 Bug 1571738 - Fallback as late as possible for svg/color fonts. r=jrmuizel
Also includes some documentation gardening for TextDrawTarget on what we don't support.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 15:40:26 +00:00