Commit Graph

31261 Commits

Author SHA1 Message Date
Kartikaya Gupta
2c29b10d55 Bug 1469403 - Skip DL dumps when the DL builder is from an inactive docshell. r=mattwoodrow
Depends on D9141

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

--HG--
extra : moz-landing-system : lando
2018-10-22 23:42:05 +00:00
Emilio Cobos Álvarez
d62a793992 Bug 1500575 - Map inset clip paths to WR complex clip regions. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9412

--HG--
extra : moz-landing-system : lando
2018-10-23 00:10:00 +00:00
Emilio Cobos Álvarez
ba7599486e Bug 1498221 - Don't apply layer scaling to fallback filters. r=mattwoodrow
Using layer scaling confuses the filter code (see bug 1497239).

Right now we're sort-of double-scaling. Looks like what the filter code expects
is just getting the scaling passed down, see bug 1224207.

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

--HG--
extra : moz-landing-system : lando
2018-10-22 23:41:30 +00:00
Myk Melez
898ee70419 Bug 1500259 - update rkv to 0.5 and uuid to 0.6 r=froydnj
Updating rkv to 0.5 enables us to un-vendor new-ordered-float, as rkv 0.4 is the last crate in the tree that depends on it.

    It also enables us to un-vendor version 0.5 of uuid. We previously needed that version because multiple third-party crates depended on it, and we have limited control over third-party sub-dependencies. But rkv 0.4 was the last third-party crate that still depended on version 0.5 of uuid; rkv 0.5 depends on version 0.6 of uuid.

    There would still be two internal crates that depend on version 0.5 of uuid: geckodriver and webrender_bindings. But we have more control over internal sub-dependencies, and we can update those two internal crates to depend on version 0.6 of uuid. This patch does so.

    To summarize, this patch makes the following changes:

    * rkv: 0.4 -> 0.5
    * new-ordered-float: un-vendored
    * geckodriver: uuid dependency 0.5 -> 0.6
    * webrender_bindings: uuid dependency 0.5 -> 0.6
    * uuid 0.5: un-vendored
    * uuid 0.6: remains in tree

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

--HG--
extra : moz-landing-system : lando
2018-10-22 16:31:40 +00:00
WR Updater Bot
22ef412dc9 Bug 1500711 - Update webrender to commit 9464adaf2634f8d11408b915323d8006474f02e2. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9416

--HG--
extra : moz-landing-system : lando
2018-10-22 17:13:50 +00:00
Kartikaya Gupta
2974aacd34 Bug 1500587 - Skip generating bindings for constants because we don't need them. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D9296

--HG--
extra : moz-landing-system : lando
2018-10-21 22:59:25 +00:00
WR Updater Bot
ec100e51b3 Bug 1500466 - Update webrender to commit 15656cb497303703b4d541d3e14292259e4c5343. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9348

--HG--
extra : moz-landing-system : lando
2018-10-20 19:24:12 +00:00
Botond Ballo
9ae59445f8 Bug 1478304 - Add a mochitest. r=kats
Depends on D9327

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

--HG--
extra : moz-landing-system : lando
2018-10-20 01:03:47 +00:00
Botond Ballo
cb048ace65 Bug 1478304 - Ensure Layer::GetFixedPositionScrollContainerId() returns NULL_SCROLL_ID for layers that are not fixed. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9327

--HG--
extra : moz-landing-system : lando
2018-10-20 01:02:50 +00:00
Gurzau Raul
8e9ffaaf06 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-20 01:09:52 +03:00
Jonathan Kew
ef13c0fd65 Bug 1500126 - Flushing the font metrics cache needs to be done on the main thread. r=lsalzman 2018-10-19 16:08:57 +01:00
Lee Salzman
1e136a0603 Bug 1495919 - ensure IDWriteFontFileStream stays alive with NativeFontResourceDWrite. r=jrmuizel 2018-10-18 18:00:23 -04:00
WR Updater Bot
87117a44b1 Bug 1500233 - Update webrender to commit c72754d72ddd0e9e198bb1edefe13f77d9a38f07. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D9268

--HG--
extra : moz-landing-system : lando
2018-10-19 15:57:32 +00:00
Jamie Nicol
9498be51e6 Bug 1479754 - Hook up the force-first-paint codepath with webrender r=kats
When a CompositorBridgeParent receives a force first paint message, it
sets the flag on the AsyncCompositionManager, which notifies the
widget code at the next composite via
UiCompositorControllerParent::NotifyFirstPaint().

With webrender, this is crashing as there is no
AsyncCompositionManager. And even if it weren't crashing, the widget
will never receive the first paint message, so it never uncovers its
content.

This change ensures the widget receives the first message when
webrender is enabled. CompositorBridgeParent will set the flag on its
WebRenderBridgeParent, which will set the flag on the next received
display list. When the WebRenderBridgeParent flushes the corresponding
transaction, it calls UiCompositorcontrollerParent::NotifyFirstPaint,
to ensure the widget code gets the message.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 13:48:04 +00:00
Brian Hackett
0ec2f258e7 Bug 1499186 Part 1 - Allow recording/replaying processes to ignore vsyncs, r=nical.
--HG--
extra : rebase_source : e36cb48b5a7ba3b4f2fc46fd68256b46801f0792
2018-10-17 10:18:50 -06:00
Brian Hackett
e1cc56fa0f Bug 1488808 Part 17 - Allow paints to happen at the normal time when recording/replaying, r=nical.
--HG--
extra : rebase_source : c9a5536a9eeff96937643fdf7bf68e56e437cef1
2018-10-17 10:16:30 -06:00
Kartikaya Gupta
6782ee5d3a Bug 1500033 - Update webrender to cset b648c76e2dc2cbcbd635322cdf94ab9d5320e0c1. 2018-10-18 16:04:29 -04:00
Kartikaya Gupta
a971a37e5f Bug 1485834 - Allow recomputing the cumulative resolution in ComputeScrollMetadata. r=botond
We need to correctly populate the cumulative resolution field in the
ScrollMetadata in order to support zooming. Without this, the cumulative
resolution doesn't include the presShell resolution, and that results in
APZ getting into an inconsistent state.

Currently, the cumulative resolution is populated from the
ContainerLayerParameters object's scale, but in the case of WebRender,
we call ComputeScrollMetadata with an empty ContainerLayerParameters
since don't actually do layer building or rasterization in Gecko.
This patch makes this more explicit by changing the argument to a
Maybe<ContainerLayerParameters> and passing Nothing() from the WebRender
call sites.

In this scenario, we just use the cumulative presShell resolution as
the cumulative resolution, which should be correct for WebRender as
we won't have an "extra" CSS-derived resolution applied on the Gecko
side.

Depends on D9120

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

--HG--
extra : moz-landing-system : lando
2018-10-19 14:24:50 +00:00
Kartikaya Gupta
33d89bae83 Bug 1485834 - Sample APZ zoom values for webrender. r=botond
Depends on D9119

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

--HG--
extra : moz-landing-system : lando
2018-10-19 14:24:32 +00:00
Kartikaya Gupta
7c90df3b0a Bug 1485834 - Expose the zooming API from WebRender. r=Gankro
Differential Revision: https://phabricator.services.mozilla.com/D9119

--HG--
extra : moz-landing-system : lando
2018-10-19 14:24:14 +00:00
Mats Palmgren
10b87f1915 Bug 1494715 - Add a pref to disable antialiasing for Ahem only, r=jfkthame
Add a pref called gfx.font_ahem_antialias_none which disables
antialiasing for any font with the family name "Ahem". This is useful
for wpt reftests where antialaising of Ahem causes spurious failures.

Differential Revision: https://phabricator.services.mozilla.com/D7200
2018-10-18 15:54:29 +01:00
Margareta Eliza Balazs
c56977420d Merge inbound to mozilla-central. a=merge 2018-10-18 13:20:43 +03:00
Markus Stange
aac44afa75 Bug 1496823 - Remove EventThreadRunner and the pref that enabled it. r=kats,spohl
This was an experiment before we had e10s. It's no longer needed.

Depends on D7922

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

--HG--
extra : moz-landing-system : lando
2018-10-17 20:44:28 +00:00
Jeff Muizelaar
0ada57151e Bug 1499786. Update webrender to commit 74f265e447d2927c27d4320c676779956d39eaf0
--HG--
extra : rebase_source : 2f10a1fb8bbdb81d2df2e037a9162c3cae9cd6e1
2018-10-17 17:24:12 -04:00
Bobby Holley
87fa9f0013 Bug 1496838 - Add memory reporters for shared depth targets. r=kvark 2018-10-17 10:25:43 -07:00
Jeff Muizelaar
6cd99b2b8e Bug 1499494. Re-generate FFI header
--HG--
extra : rebase_source : 7c336720b20f2ab6da92fcfc75ff178093f4b5bd
2018-10-17 12:48:15 -04:00
Jeff Muizelaar
1be2b60785 Bug 1499494. Update webrender to commit a0a36d9b416ca3295f8def384814ffef60903a60
--HG--
extra : rebase_source : 3d93063316a0bd00c0c7a44f5276512cf9991c2e
2018-10-17 12:47:25 -04:00
shindli
6b3bca7b14 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-17 03:59:39 +03:00
shindli
2eb594138a Merge inbound to mozilla-central. a=merge 2018-10-17 03:55:26 +03:00
sotaro
fe52320e8b Bug 1497910 - Call wr_renderer_readback() before calling RenderCompositor::EndFrame() r=nical 2018-10-17 07:54:01 +09:00
Jeff Gilbert
a5fabb8cb9 Bug 1495892 - Aggregates in c++2a can't have deleted ctors. r=dholbert
GLContextSymbols previously had a deleted default ctor to prevent accidentally leaving its members uninitialized, instead of zeroing with aggregate initialization.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 19:39:37 +00:00
Kartikaya Gupta
eb22224d62 Bug 1484173 - Replace the mNeedsComposite counter with a timestamp. r=sotaro
The mNeedsComposite counter was used to force a composite immediately if
the scheduler received a number of composite requests without actually
getting a vsync. It was necessary on Fennec because of main-thread
contention. However it was wrong because it assumes only a single
composite gets requested per vsync interval, which is not true. Instead
of using a counter this patch uses a timestamp to ensure that we only
force the vsync after two vsync intervals have elapsed.

Depends on D8765

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

--HG--
extra : moz-landing-system : lando
2018-10-16 05:36:14 +00:00
Kartikaya Gupta
51d0eb31fa Bug 1484173 - Expose the vsync interval via the CompositorVsyncSchedulerOwner interface. r=sotaro
We need this for the next patch.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 00:33:51 +00:00
Botond Ballo
bc30a8f71d Bug 1498329 - Use a fallback velocity if the velocity tracker doesn't have enough recent samples to compute a velocity. r=kats
Depends on D8786

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

--HG--
extra : moz-landing-system : lando
2018-10-15 23:31:53 +00:00
Botond Ballo
e1f2ede5f8 Bug 1498329 - Fix a bug in AndroidVelocityTracker::ComputeVelocity() where we were unintentionally ignoring the oldest data point. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D8786

--HG--
extra : moz-landing-system : lando
2018-10-15 23:29:21 +00:00
Noemi Erli
014b37a409 Merge inbound to mozilla-central. a=merge 2018-10-16 01:20:08 +03:00
Kartikaya Gupta
fe4f74eb20 Bug 1462980 - Use the more robust waitUntilApzStable instead of ad-hoc afterPaint waiting. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D8748

--HG--
extra : moz-landing-system : lando
2018-10-15 17:44:27 +00:00
Kartikaya Gupta
dc68784e43 Bug 1479757 - Switch to containerless scrolling for GeckoView+WR. r=botond
This changes the containerful scrolling pref to be an override pref
such that it is:
- always false on desktop (i.e. always use containerless there)
- always true in Fennec (i.e. never use containerless there)
- true in GeckoView if WebRender is disabled (i.e. only use
  containerless with WebRender).

The first two cases are the same as before; the last case is new.
Because we don't create layers with WR, the containerless vs
containerful distinction doesn't make much sense there, and we need to
implement a bunch of zooming glue in either case. So it makes sense to
go with the "way of the future" and keep it containerless.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 17:41:21 +00:00
Kartikaya Gupta
be788afc29 Bug 1498711 - Allow WR to ride the trains to beta 64. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D8735

--HG--
extra : moz-landing-system : lando
2018-10-15 15:24:12 +00:00
Kartikaya Gupta
3d29d74088 Bug 1498699 - Only create the AndroidDynamicToolbarAnimator for Fennec. r=jnicol
The bulk of this is adjusting the code that tries to use the toolbar to
have appropriate null checks instead of asserting it will exist. The
creation of the animator instance is now guarded by a IsFennec
condition.

Depends on D8658

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

--HG--
extra : moz-landing-system : lando
2018-10-15 14:56:35 +00:00
Kartikaya Gupta
ece2bc6665 Bug 1498699 - Move the FIRST_PAINT notification from AndroidDynamicToolbarAnimator to UiCompositorControllerParent. r=jnicol
Depends on D8657

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

--HG--
extra : moz-landing-system : lando
2018-10-15 13:20:27 +00:00
Kartikaya Gupta
7e23a5fb50 Bug 1498699 - Move the LAYERS_UPDATED notification from AndroidDynamicToolbarAnimator to UiCompositorControllerParent. r=jnicol
This extracts code that is conceptually unrelated to the dynamic toolbar
from the dynamic toolbar codebase. It is a stepping stone to being able
to not instantiate the AndroidDynamicToolbarAnimator at all for
non-Fennec android products.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 13:19:16 +00:00
Dorel Luca
451e26f0c6 Backed out changeset 8d7987ea4fb1 (bug 1490257) for causing android failures. CLOSED TREE 2018-10-15 14:39:00 +03:00
Jonathan Kingston
8bcd10a7ab Bug 1490257 - Add asserts and remove implied system triggering principal code r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D8368

--HG--
extra : moz-landing-system : lando
2018-10-15 06:29:45 +00:00
Jeff Muizelaar
35107f875d Bug 1498650. Update webrender to commit 5adc86c19cbef6697975ea078fa0d10635e5d660
--HG--
extra : rebase_source : 4295a7b22bdd782444aab697651e160d69896aeb
2018-10-13 21:17:50 -04:00
Ciure Andrei
6782f178aa Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-10-13 12:40:23 +03:00
Ciure Andrei
26b40a4469 Merge inbound to mozilla-central. a=merge 2018-10-13 12:36:04 +03:00
Jonathan Kew
42446353c6 Bug 1498316 - Limit the number of nsFontMetrics entries cached by each device context, to avoid excessive growth of this cache in examples such as animated font variations or sizes. r=lsalzman 2018-10-13 10:03:37 +01:00
Jeff Gilbert
da38782e5c No bug - Fix compiler warnings on Windows. 2018-10-12 21:44:11 -07:00
Jeff Gilbert
ad715ffdbd No bug - Replace tabs with spaces, strip EOL whitespace. 2018-10-12 21:44:09 -07:00