Commit Graph

34055 Commits

Author SHA1 Message Date
Matt Woodrow
78f658db68 Bug 1561178 - Shutdown video bridge for all processes that might be using it. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D36000

--HG--
extra : moz-landing-system : lando
2019-06-27 01:29:45 +00:00
Matt Woodrow
3737930be6 Bug 1561178 - Create a VideoBridge connection from the RDD process to the parent process. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D35969

--HG--
extra : moz-landing-system : lando
2019-06-27 01:29:25 +00:00
Matt Woodrow
9c0b625ec4 Bug 1561178 - Use Endpoints for VideoBridge construction, and support the possibility that there are multiple at the same time. r=jya
In the future we're going to want VideoBridge connections from the RDD process into both the parent process and the GPU process.
This does the preparation work for unifying the way we create VideoBridges (using Endpoints, required for cross-process connections),
and detects which one to use based on where the video will be composited.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 01:29:15 +00:00
Jonathan Kew
fee6d28be8 Bug 1561600 - Support the special Osaka-mono font (family) for Japanese on macOS, by hooking up the font.single-face-list pref to the shared font-list's alias table. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D36023

--HG--
extra : moz-landing-system : lando
2019-06-26 18:58:48 +00:00
Jeff Muizelaar
a5a51e1e99 Bug 1561672. blob-inval: Elaborate comment on clipping bounds
Differential Revision: https://phabricator.services.mozilla.com/D36065

--HG--
extra : moz-landing-system : lando
2019-06-26 17:35:38 +00:00
Daosheng Mu
a2e31cbc26 Bug 1558952 - Vive cosmos controller binding for OpenVR. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D35209

--HG--
rename : gfx/vr/service/binding/OpenVRKnucklesBinding.h => gfx/vr/service/binding/OpenVRCosmosBinding.h
extra : moz-landing-system : lando
2019-06-26 18:26:16 +00:00
Glenn Watson
632715284a Bug 1560853 - Fix picture cache tiles with fractional origins. r=kvark
Gecko layouts typically produce a picture cache where the origin
of the picture rect is an integer. However, it can occasionally
be a fractional origin.

In these cases, we need to ensure the content origin is floored,
to maintain consistent snapping. When this case occurs, the UV
rect for the tile also needs adjusting, to ensure the exact
1:1 texel:pixel mapping when drawing the tile.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 20:28:16 +00:00
Nicholas Nethercote
c24fbafc40 Bug 1560833 - Remove setters for static VarCache prefs. r=froydnj
Static VarCache prefs have setters. These are dangerous because they can
violate the primary invariant of VarCache prefs, which is that the global
variable always matches the pref value in the table.

Fortunately they are only used in tests, and we can use vanilla pref setters
instead, and get rid of the VarCache setters.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 16:43:33 +00:00
Glenn Watson
0e34c42163 Bug 1560499 - Fix subpixel detection for transparent tile caches. r=kvark
Some pages from Gecko produce a display list for the main content
tile cache that has a transparent background. Detect these cases
and disable subpixel text rendering to ensure correct blending.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 17:32:36 +00:00
Daniel Varga
6140a41d69 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : eef1bee63608aa3afb3c501b15416ef0bebb99be
2019-06-25 00:42:02 +03:00
Kartikaya Gupta
870cc36ca1 Bug 1519598 - Add a mach command to import PRs from github. r=kvark,ahal
This is a simple mach command that imports a PR from a whitelisted set
of github repositories into the local m-c clone. It works by downloading
the .patch file from github, splitting the different commits, and
applying those commits to the local repo via the `patch` tool and git/hg
commit. It optionally allows filing a bug or providing a bug number, and
specifying a reviewer.

This is one part of a larger workflow that facilitates landing
contributor patches into m-c when those patches are submitted as PRs.
Other components of the workflow (to be added in the future) will make
it easier to actually test and land the patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 20:30:32 +00:00
Andrew Osmond
102451b45a Bug 1560600 - Don't allow WebRender for AMD on non-nightly for non-Windows platforms. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D35569
2019-06-24 13:56:04 -04:00
Lee Salzman
0acba27866 Bug 1559810 - disallow Cairo as content/canvas backend. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D35691

--HG--
extra : moz-landing-system : lando
2019-06-24 18:45:16 +00:00
Jeff Muizelaar
0b68652b49 Bug 1539702. Improve CreateClippedDrawTarget API r=jwatt,rhunt
This changes CreateClippedDrawTarget so that instead of taking
a max size and a transform it just takes a user space rect of
the desired bounds.

This change allows the caller to not worry about the computing
a max size based on the current clip. Instead this responsibility
is lowered into the specific backends.

The main motivation for this work is to allow blob recoordination
to create recordings that don't depend on the current clip.

Some additional benefits are that the API is easier to use and
as can be seen simplifies the SVG masking code because it doesn't
need to track surface offsets manually.

It's also an important step towards removing all the uses of
gfxContext::GetClipExtents which will let us get rid of the separate
clipping stack in gfxContext and help us move off of gfxContext
completely.

Most backend implementations of CreateClippedDrawTarget are relatively
simple. DrawTargetCapture is modified to track the current clip rect
so that it can create a new DrawTargetCapture of the appropriate size
without needing to worry about lazy resolution.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 09:51:00 +00:00
Jeff Muizelaar
5d0404fc6b Bug 1560578. Add GetUnderlyingSurface so that we can see through Offset surfaces. r=lsalzman
There are a number of places where we look at a source surface's type
and then cast it to get inner information. Wrapping surfaces with offset
surfaces breaks this. Adding GetUnderlyingSurface will let us see
inside. We use this in the D2D backend to make sure we do
unintentionally convert to datasurfaces.

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

--HG--
extra : moz-landing-system : lando
2019-06-22 05:56:46 +00:00
Jeff Gilbert
ccda45f8e3 Bug 1560157 - Remove EGLUtils.h. r=lsalzman
EGLImageWrapper was completely unused.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 16:53:09 +00:00
shindli
c0ca77697c Merge inbound to mozilla-central. a=merge 2019-06-21 12:34:14 +03:00
Martin Stransky
dad38daa59 Bug 1557265 - Include gbm.h to build Wayland dmabuf backend, r=glandium
Depends on D34857

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

--HG--
extra : moz-landing-system : lando
2019-06-20 21:52:42 +00:00
Noemi Erli
5c199db0b2 Backed out changeset d909b10d7a39 (bug 1560157) for causing build bustages in TextureHostOGL.cpp CLOSED TREE 2019-06-21 02:48:27 +03:00
Jeff Gilbert
32cc8bf833 Bug 1560157 - Remove EGLUtils.h. r=lsalzman
EGLImageWrapper was completely unused.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 23:13:56 +00:00
Jed Davis
5c3a0a30d3 Bug 1426526 - Delete file_util from ex-Chromium IPC source. r=froydnj
Depends on D26746

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

--HG--
extra : moz-landing-system : lando
2019-06-20 22:40:40 +00:00
Jed Davis
3c945a3e99 Bug 1479960 - Get rid of base::SharedMemory::handle. r=froydnj
Despite the comment saying not to use the "handle" except as an opaque
identifier, it is being used to pass the handle to other OS APIs.  Direct
access to the handle needs to be controlled to make sure freezing is
safe, so this patch replaces that with interfaces that are more explicit
about ownership and lifetime.

Depends on D26739

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

--HG--
extra : moz-landing-system : lando
2019-06-20 22:40:19 +00:00
Cosmin Sabou
55afe30077 Merge mozilla-central to autoland. CLOSED TREE 2019-06-21 01:44:45 +03:00
Cosmin Sabou
49014f945b Merge mozilla-inbound to mozilla-central. a=merge 2019-06-21 01:03:07 +03:00
myfreeweb
01916974b0 Bug 1213601 - implement kinetic/inertial scrolling (fling) for Gtk. r=botond
--HG--
extra : rebase_source : 69a374c26bcb8781e83aeb26058a2de349313bbc
extra : amend_source : 521bb6f2b5799bfca5f8b8b5bbe9e4fef1f2dd1e
2019-06-20 16:18:45 -04:00
Nicolas Silva
d1d43baacc Bug 1558135 - Use a faster image shader when we don't need repetitions and anti-aliasing. r=gw
--HG--
extra : rebase_source : 5b6a332ba781ef9673fe9866872c3fe2977049f6
2019-06-20 10:14:48 -07:00
Ciure Andrei
72f3f971fb Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697) for causing build bustages CLOSED TREE
Backed out changeset 5645e0cc3915 (bug 1479960)
Backed out changeset a7c09894c6a0 (bug 1536697)
Backed out changeset 510f03381af9 (bug 1426526)
Backed out changeset 7cf4735a088f (bug 1426526)
Backed out changeset 41080844e645 (bug 1479960)
Backed out changeset fdba3c5f8fd0 (bug 1479960)
Backed out changeset 26a8ebcb2db4 (bug 1479960)
Backed out changeset d0d383e5bae1 (bug 1479960)
Backed out changeset c418095bb7b7 (bug 1479960)
Backed out changeset 7b78b1945532 (bug 1479960)
Backed out changeset c47d47d4073d (bug 1479960)
Backed out changeset 71253b62a633 (bug 1479960)
Backed out changeset ae525f20bdbb (bug 1479960)
Backed out changeset 7fba719355d7 (bug 1534780)
Backed out changeset 771db331860a (bug 1534780)
2019-06-20 19:54:57 +03:00
Jed Davis
d0e26716c7 Bug 1426526 - Delete file_util from ex-Chromium IPC source. r=froydnj
Depends on D26746

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

--HG--
extra : moz-landing-system : lando
2019-06-17 02:20:06 +00:00
Jed Davis
d1d5748834 Bug 1479960 - Get rid of base::SharedMemory::handle. r=froydnj
Despite the comment saying not to use the "handle" except as an opaque
identifier, it is being used to pass the handle to other OS APIs.  Direct
access to the handle needs to be controlled to make sure freezing is
safe, so this patch replaces that with interfaces that are more explicit
about ownership and lifetime.

Depends on D26739

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

--HG--
extra : moz-landing-system : lando
2019-06-17 02:19:46 +00:00
Kartikaya Gupta
e680f06913 Bug 1548687 - Rename functions per review comment suggestions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D35315

--HG--
extra : moz-landing-system : lando
2019-06-20 14:31:08 +00:00
Kartikaya Gupta
1bf9a05842 Bug 1548687 - Add mochitest to exercise scrolling an oopif's ancestor. r=botond
This scrolls the document containing the OOPIF and ensures that
hit-testing still works. Some of the fission hit-testing machinery is
still WR-only, so we have to restrict the subtest to only run when WR
is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 14:34:54 +00:00
Kartikaya Gupta
9f179786cb Bug 1548687 - Remove unused dangling argument. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D35203

--HG--
extra : moz-landing-system : lando
2019-06-20 14:30:36 +00:00
Kartikaya Gupta
32f4c475cc Bug 1548687 - Optimization to reduce the number of IPC messages. r=botond
The case being fixed by this bug is currently relatively rare, in that
it requires the scrolling of a frame that contains OOP content. This
patch adds a bit of optimization to ensure that we only send the
affected transforms (i.e. for the scrolled OOP layers subtrees) in this
scenario, so that we don't cause unnecessary IPC overhead.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 14:30:28 +00:00
Kartikaya Gupta
f8c16837dd Bug 1548687 - Send OOP frame transforms to the main thread more often. r=botond
In cases such as APZ scrolling with paint-skipping, there is an
additional transform component that needs to be included in the
transforms that APZ sends to the main thread for the purposes of
tracking OOP iframe positions. This patch includes the missing transform
component in the calculated matrices. This component updates more
frequently, generally on each call to RequestContentRepaint, as
mExpectedGeckoMetrics is updated, so we also need to send the frame
transform matrices over with this frequency.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 14:30:12 +00:00
Kartikaya Gupta
8147b6bbcb Bug 1548687 - Remove unnecessary root layers id argument. r=botond
The APZCTreeManager already knows its root layers id, so we don't need
to be passing it all over the place. I previously verified via a try
push with an assertion that the incoming aRootLayersId is always equal
to mRootLayersId.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 14:30:02 +00:00
sotaro
1b3de0879f Bug 1533296 - Make WebRender error as to Fallback to Compositor rendering during disabling WebRender on android r=nical
On android, android's nsWindow creates LayerManaer only in nsWindow::Create(). When WebRender error happened, gecko just stopped rendering by disabling Webrender.
The nsWindow needs to re-create LayerManager during disabling Webrender. Further, during disabling WebRender, All GeckoSurfaceTextures should not be attached to GLContext. It is for preventing a conflict with AttachToGLContext() call in SurfaceTextureHost::EnsureAttached().

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

--HG--
extra : moz-landing-system : lando
2019-06-19 16:14:56 +00:00
Daniel Varga
1ca75bd3d1 Backed out 6 changesets (bug 1548687) for browser chrome failure at gfx/layers/apz/test/mochitest/browser_test_group_fission.js. On a CLOSED TREE
Backed out changeset b8f38148ccbc (bug 1548687)
Backed out changeset a222c1b94540 (bug 1548687)
Backed out changeset 1ddcedc57f6f (bug 1548687)
Backed out changeset a6aa3a8b41b0 (bug 1548687)
Backed out changeset 0454826b6047 (bug 1548687)
Backed out changeset 6fde36402c40 (bug 1548687)
2019-06-20 01:14:20 +03:00
Kartikaya Gupta
a99bca1199 Bug 1548687 - Rename functions per review comment suggestions. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D35315

--HG--
extra : moz-landing-system : lando
2019-06-19 19:24:04 +00:00
Kartikaya Gupta
1f1cd321aa Bug 1548687 - Add mochitest to exercise scrolling an oopif's ancestor. r=botond
This scrolls the document containing the OOPIF and ensures that
hit-testing still works. Some of the fission hit-testing machinery is
still WR-only, so we have to restrict the subtest to only run when WR
is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 19:23:54 +00:00
Kartikaya Gupta
3a0462de3c Bug 1548687 - Remove unused dangling argument. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D35203

--HG--
extra : moz-landing-system : lando
2019-06-19 19:23:43 +00:00
Kartikaya Gupta
4345a89ac7 Bug 1548687 - Optimization to reduce the number of IPC messages. r=botond
The case being fixed by this bug is currently relatively rare, in that
it requires the scrolling of a frame that contains OOP content. This
patch adds a bit of optimization to ensure that we only send the
affected transforms (i.e. for the scrolled OOP layers subtrees) in this
scenario, so that we don't cause unnecessary IPC overhead.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 19:23:41 +00:00
Kartikaya Gupta
f6d1c3f41e Bug 1548687 - Send OOP frame transforms to the main thread more often. r=botond
In cases such as APZ scrolling with paint-skipping, there is an
additional transform component that needs to be included in the
transforms that APZ sends to the main thread for the purposes of
tracking OOP iframe positions. This patch includes the missing transform
component in the calculated matrices. This component updates more
frequently, generally on each call to RequestContentRepaint, as
mExpectedGeckoMetrics is updated, so we also need to send the frame
transform matrices over with this frequency.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 19:23:37 +00:00
Kartikaya Gupta
51689ccfe3 Bug 1548687 - Remove unnecessary root layers id argument. r=botond
The APZCTreeManager already knows its root layers id, so we don't need
to be passing it all over the place. I previously verified via a try
push with an assertion that the incoming aRootLayersId is always equal
to mRootLayersId.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 19:23:33 +00:00
Kagami Sascha Rosylight
3a1f6f85f5 Bug 1558001: Use double for DOMMatrix r=bzbarsky
DOMMatrix now internally uses double instead of float. This only fixes DOMMatrix internals so we still have to work on Servo CSS Parser to pass doubles instead of floats.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 15:59:54 +00:00
Glenn Watson
0689b50e52 Bug 1559295 - Support multiple picture cache tile sizes in WR texture cache. r=kvark
In future, picture cache tiles will support different sizes, depending
on the size of the content slice being cached, and how frequently
parts of the slice are changing.

Although currently unused, this patch adds support for specifying
multiple different tile sizes for the picture cache texture array.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 15:46:18 +00:00
Csoregi Natalia
9420c9eccf Backed out changeset be881e8aa8d9 (bug 1559295) for webrender bustage on webrender/src/texture_cache.rs. CLOSED TREE
--HG--
extra : histedit_source : 56889f6c35d9135a2c3f9177d344ba55121db2f7
2019-06-19 17:34:44 +03:00
Glenn Watson
ae6e0cf4a3 Bug 1559295 - Support multiple picture cache tile sizes in WR texture cache. r=kvark
In future, picture cache tiles will support different sizes, depending
on the size of the content slice being cached, and how frequently
parts of the slice are changing.

Although currently unused, this patch adds support for specifying
multiple different tile sizes for the picture cache texture array.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 19:38:34 +00:00
Glenn Watson
77363f0e08 Bug 1559535 - Fix crash related to mismatched clips with picture caching. r=kvark
Fixes an edge case where splitting the top level primitive list
for picture caching may result in a mismatched push/pop clip
pair.

This is not a particularly efficient fix, but it's a rare enough
edge case for now that this fix will be good enough until we work
out the long term solution for the push/pop clip chain instances.

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

--HG--
extra : moz-landing-system : lando
2019-06-19 08:40:27 +00:00
Jean-Yves Avenard
139dde3db5 Bug 1559675 - P2. Initialise xpcom earlier in GPU process. r=mattwoodrow
StaticPrefs are fully initialized with Preferences, which is instantiated via XPCOM. It is required as such to initialize xpcom first.

Depends on D35263

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

--HG--
extra : moz-landing-system : lando
2019-06-18 23:03:20 +00:00
sotaro
62e9533629 Bug 1559859 - Always release mWidget in UiCompositorControllerChild::Destroy() r=kats
Differential Revision: https://phabricator.services.mozilla.com/D35210

--HG--
extra : moz-landing-system : lando
2019-06-18 09:49:02 +00:00
Doug Thayer
45555d1065 Bug 1548247 - Fully recurse frame tree from APZCCallbackHelper r=kats
I wasn't able to produce a situation in which this change matters, so
I'm not certain that it's necessary, but it seems to be the correct
thing to do given the problem fixed in nsGfxScrollFrame.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:03:08 +00:00
Doug Thayer
b9ba8a94c6 Bug 1548247 - Use aGuid's RenderRoot in RecvStart/StopAutoscroll r=kats
The work for the antecedent patch led me to stumble on a problem where
we were not correctly stopping autoscroll. This was also due to a
renderroot mismatch, which this patch addresses. The call comes through
nsBaseWidget no matter what, it seems, so using mWrRootId.mRenderRoot
seems to be incorrect. I couldn't see a more elegant fix than this.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:03:04 +00:00
Doug Thayer
5a066b03f1 Bug 1548247 - Correct and limit scroll update renderroot usage r=kats
There's two things going on here. 1) nsGfxScrollFrame is getting the
wrong renderroot, because it's not correctly recursing up the frame
tree. 2) Hiding behind that problem is that if we do correctly assign
the renderroot, we end up blocking on both render roots updating if
we don't, say, have a horizontal scroll option, because that leaves
us with a wr::RenderRoot::Default. 2.1) We then still end up blocking
on the default renderroot because we initialize the selector with
WebRenderBridgeParent's mRenderRoot.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 22:02:57 +00:00
Glenn Watson
ee02d52111 Bug 1559354 - SVG graphs broken with Webrender enabled. r=nical
This patch fixes two issues with blob images + new picture caching.

1) The logic that determines a conservative set of visible tiles
   for tiled / blob images was no longer correct. It was relying
   on the bounds of a single tile to build the conservative rect.
   Instead, take the overall primitive world bounds and derive a
   conservative set of visible tiles from this.

2) The logic to detect if an image was dirty was incorrect, and
   somewhat error prone. It now maintains a set of dirty images
   that have been requested. The image key dependencies are then
   checked during the tile cache post_update step.

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

--HG--
extra : moz-landing-system : lando
2019-06-18 16:08:21 +00:00
sotaro
5f8fe2e910 Bug 1547760 - Ensuring UiCompositorControllerChild::mWidget alive when it is used
Differential Revision: https://phabricator.services.mozilla.com/D35166
2019-06-18 09:44:52 +09:00
Jeff Gilbert
7ac9159761 Bug 1442825 - Remove ScopedGLWrapper base class. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35138

--HG--
extra : moz-landing-system : lando
2019-06-17 06:40:27 +00:00
Ryan Hunt
b30b378812 Bug 1559565 - Revert part of bug 1559259 for high frequency intermittent failures. r=rhunt
The test still fails frequently on non-WR; we must still be missing something.

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

--HG--
extra : moz-landing-system : lando
2019-06-17 14:34:46 +00:00
Mihai Alexandru Michis
b3b4012542 Merge inbound to mozilla-central. a=merge 2019-06-17 12:59:31 +03:00
sotaro
7db1eb81a0 Bug 1546192 - Check SharedSurface_Basic::Create failure
Differential Revision: https://phabricator.services.mozilla.com/D28439
2019-06-17 13:40:13 +09:00
Kartikaya Gupta
f4ef963535 Bug 1559375 - Allow qualified AMD devices to get WR in late beta and release. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D35024

--HG--
extra : moz-landing-system : lando
2019-06-16 02:44:48 +00:00
Jamie Nicol
34dc1a1c4a Bug 1556763 - Enable wrench blend reftests on android devices. r=kats
These now work on actual devices now, but must remain disabled on the
emulator until bug 1555002 is fixed.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 11:56:33 +00:00
Jamie Nicol
ee505d0bfd Bug 1556763 - Disable blend_equation_advanced on adreno devices. r=gw
There appears to be a driver bug on android 8 and older where it does
not render correctly.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 11:56:24 +00:00
Jamie Nicol
ce7a78895a Bug 1556763 - Add layout qualifier to fragment shader output for advanced blend. r=kvark
When using an advanced blend equation, fragment shader output must be
marked with a matching layout qualifier. Not doing so was causing
subsequent glDraw* operations to fail.

This patch adds a new shader feature, WR_FEATURE_ADVANCED_BLEND, which
requires the necessary extension and adds the qualifier. Variants of
the brush_image shaders are created with this feature, and are used
whenever a brush_image shader is requested for BlendMode::Advanced.

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

--HG--
extra : moz-landing-system : lando
2019-06-15 11:56:14 +00:00
Jonathan Kew
d88f8facc2 Bug 1558375 - Don't set the FT_LOAD_NO_AUTOHINT flag for fonts that have FT_FACE_FLAG_TRICKY, to avoid broken rendering. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35023

--HG--
extra : moz-landing-system : lando
2019-06-15 12:40:02 +00:00
Ciure Andrei
86d096eeef Backed out changeset 6153e6bb58e1 (bug 1558375) for causing 1229972.html to perma crash CLOSED TREE 2019-06-15 13:42:53 +03:00
Andreea Pavel
b4c0f63508 Merge mozilla-central to autoland on a CLOSED TREE 2019-06-15 13:03:22 +03:00
Andreea Pavel
8c09b0389f Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/util/OnboardingStringUtil.java => mobile/android/base/java/org/mozilla/gecko/util/OnboardingResources.java
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-1.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-2.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-a-2.0/manifest.json
rename : toolkit/components/normandy/test/browser/addons/normandydriver-1.0/manifest.json => toolkit/components/normandy/test/browser/addons/normandydriver-b-1.0/manifest.json
2019-06-15 12:54:47 +03:00
Jonathan Kew
9dbb54dd9e Bug 1558375 - Don't set the FT_LOAD_NO_AUTOHINT flag for fonts that have FT_FACE_FLAG_TRICKY, to avoid broken rendering. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35023

--HG--
extra : moz-landing-system : lando
2019-06-15 05:27:40 +00:00
Jeff Gilbert
98d7f04ed2 Bug 1559524 - Reduce calls to GLLibraryEGL::Get(). r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35103

--HG--
extra : moz-landing-system : lando
2019-06-15 05:21:12 +00:00
Jeff Gilbert
42eda03785 Bug 1559524 - Remove EGL_DISPLAY macro. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35102

--HG--
extra : moz-landing-system : lando
2019-06-15 05:14:53 +00:00
Daniel Varga
ff5cbecd34 Backed out changeset d75e4cb5b188 (bug 1546192) for build bustage at /builds/worker/workspace/build/src/gfx/gl/GLScreenBuffer.cpp. On a CLOSED TREE 2019-06-15 04:18:28 +03:00
Chris Peterson
ee1c4eb273 Bug 1528881 - Part 5: gfx/gl: Make some global functions static. r=jgilbert
clang's -Wmissing-prototypes option identifies global functions that can be made static (because they're only called from one compilation unit) or removed (if they're never called).

gfx/gl/GfxTexturesReporter.cpp:22:13 [-Wmissing-prototypes] no previous prototype for function 'FormatBytes'
gfx/gl/GLContextFeatures.cpp:534:6 [-Wmissing-prototypes] no previous prototype for function 'IsFeaturePartOfProfileVersion'

Depends on D20263

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

--HG--
extra : moz-landing-system : lando
2019-06-14 23:42:59 +00:00
Ryan Hunt
22c6fdc5b9 Bug 1559259 - Have APZ set mLayersId on WidgetEvent when not using WebRender. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D34939

--HG--
extra : moz-landing-system : lando
2019-06-14 23:12:15 +00:00
Emilio Cobos Álvarez
3eda404cd9 Bug 1559570 - Use a different style change to trigger AllReflowHints for now. r=kats
box-sizing changes seem a bit less likely to be optimized away in the near
future...

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

--HG--
extra : moz-landing-system : lando
2019-06-17 01:48:24 +00:00
sotaro
f85719ceb0 Bug 1546192 - Check SharedSurface_Basic::Create failure r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D28439

--HG--
extra : moz-landing-system : lando
2019-06-14 23:44:57 +00:00
Jeff Gilbert
e13411ac11 Bug 1559286 - Remove gl.msaa-level and SurfaceCaps.antialias. r=lsalzman
Also remove now-clearly-defunct parts of GLScreenBuffer.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 19:09:54 +00:00
Cameron McCormack
81848f2228 Bug 1559093 - Handle font load cancellation better. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34971

--HG--
extra : moz-landing-system : lando
2019-06-14 19:25:50 +00:00
Bogdan Tara
c1e71642f3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-14 13:45:15 +03:00
Bogdan Tara
e05c286c5f Backed out changeset 331846de4391 (bug 1551844) for ccwn2c08.html and ccwn3p08.html failures a=backout 2019-06-14 12:48:16 +03:00
sotaro
c5d1baba60 Bug 1559284 - Disable fast path for async native texture updates r=gw
Bug 1558106 changed how picture caching works. With it, WebRenderTextureHostWrapper does not work as before. Then disable it for now.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 07:32:17 +00:00
shindli
0534ae5951 Merge inbound to mozilla-central. a=merge 2019-06-14 00:46:21 +03:00
Andrew Osmond
3334a54347 Bug 1551844 - Implement NEON variations of QCMS ICCv2 transforms. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D34582
2019-06-13 07:55:21 -04:00
Jonathan Kew
d67f73d9bc Bug 1557044 - Don't eagerly load cmap of user font in gfxMacPlatformFontList::MakePlatformFont, let it load on first use like other platforms. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D33796

--HG--
extra : moz-landing-system : lando
2019-06-13 17:06:18 +00:00
Oana Pop Rus
1133b6716d Merge inbound to mozilla-central. a=merge 2019-06-13 12:55:51 +03:00
violet
d5bbf998dd Bug 1351432 - Implement the break-spaces value of the white-space property r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34499

--HG--
extra : moz-landing-system : lando
2019-06-12 10:23:49 +00:00
Ryan Hunt
b76533bae0 Bug 1558482 - Only initialize the root displayport for the cross process root content document. r=kats
The root displayport has some assumptions built into it about being positioned at
the origin and sized to the composition bounds that seem like they only apply to
the cross process root content document. This commit changes us to avoid taking
this code path for OOP-iframes.

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

--HG--
extra : rebase_source : 026bb84b7ad086f508228620d19d9f459f28bf1d
2019-06-11 07:57:23 -05:00
sotaro
67e4b24fb3 Bug 1558100 - Recycle TextureClient in CanvasClient2D with WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D34495

--HG--
extra : moz-landing-system : lando
2019-06-12 21:29:47 +00:00
Kartikaya Gupta
a44dd8ef5a Bug 1560326 - Frames might have text nodes as their content so don't assume it's an element. r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D35431

--HG--
extra : moz-landing-system : lando
2019-06-20 18:14:17 +00:00
Doug Thayer
9e8f08b278 Bug 1549976 - Implement popover render root r=kats,Gijs
If we decide to just go with an overlay that sits fully over the
window (which I don't personally see a perf problem with right now,
but correct me if you can think of one), then this should be all
we need.

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

--HG--
extra : rebase_source : 44a5af47f9c10071b0933931fbf3708978f549e4
2019-06-21 19:15:11 +01:00
arthur.iakab
a549fe0532 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 144e998695db067f1dad805e5263b591ed98e50f
2019-06-28 13:10:08 +03:00
Nicholas Nethercote
28ae1cbb46 Bug 1561825 - Make sundry static prefs follow the naming convention. r=KrisWright
That includes changing privacy.resistFingerprinting to a non-VarCache pref,
because it doesn't need to be a VarCache.

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

--HG--
extra : rebase_source : 6d742e6ff2a4b786cb21f6e8874d1fd4bbde1857
2019-06-27 17:38:17 +10:00
Nicholas Nethercote
cc534d2bb6 Bug 1561825 - Make mousewheel.* static prefs follow the naming convention. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D36161

--HG--
extra : rebase_source : 1466f6cb77029782b391702f5c80f34926995166
2019-06-27 17:14:02 +10:00
Nicholas Nethercote
59dde0c47e Bug 1561825 - Make layout.* static prefs follow the naming convention. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D36160

--HG--
extra : rebase_source : 25ec3d8bd549a9229ec8789f2ca604c27082f228
2019-06-27 16:28:25 +10:00
Nicholas Nethercote
4008f58653 Bug 1561825 - Make layers.* static prefs follow the naming convention. r=KrisWright
The patch also removes the layers.mlgpu.enable-container-resizing pref, because
it's dead.

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

--HG--
extra : rebase_source : e215d584aed18f865d2e8d00a78e76e9b0323e6e
2019-06-27 14:48:58 +10:00
Kartikaya Gupta
1cccbb6069 Bug 1557970 - Put the root metadata on the zoom container if there is one, for the WR codepath. r=botond
Same fix as in bug 1553045, but for the WebRender codepath.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 16:51:22 +00:00
Kartikaya Gupta
b66ef045f3 Bug 1557970 - Implement IsAsyncZoomContainer for the WR codepath. r=botond
This makes the assertion failure from bug 1553045 reproduce with WR enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 15:48:41 +00:00
Gurzau Raul
577021c8c2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-06-12 00:36:41 +03:00
Gurzau Raul
227f5329f7 Merge inbound to mozilla-central. a=merge 2019-06-12 00:34:32 +03:00
Jonathan Kew
4c97ee3830 Bug 1554819 - Add a couple of missing null-checks in SharedFontList.cpp. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D34158

--HG--
extra : moz-landing-system : lando
2019-06-11 12:10:24 +00:00
Kartikaya Gupta
97d708b2a2 Bug 1501582 - Mark geckoview failures. r=gbrown
There are a number of failures, for which I've filed separate bugs.
And then a lot of fuzziness. I manually inspected the reftest analyzer
results on try pushes to distinguish failures vs fuzziness.

Depends on D34537

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

--HG--
extra : moz-landing-system : lando
2019-06-11 16:12:03 +00:00
Botond Ballo
c0ca36e4fd Bug 1554813 - Size the scroll parts clip to the scroll frame's true outer size. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D33377

--HG--
extra : moz-landing-system : lando
2019-06-10 16:30:42 +00:00
Cameron McCormack
c52feec966 Bug 1557962 - Buffer OTS messages and report them once we're back on the main thread. r=jfkthame
And turn OMT OTS back on.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 15:56:31 +00:00
Nicolas Silva
250c484e01 Bug 1555655 - Box the TileCache in PicturePrimitive. r=gw
The tile cache is 352 bytes large and in the majority of cases picture primitives don't have one, so this saves a few KB of ram in typical pages reduces the likely hood of hitting OOM crashes while growing the primitives vector.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 19:54:13 +00:00
Hiroyuki Ikezoe
8f5e20cee0 Bug 1551801 - Fix the velocity direction on pan gesture events. r=botond
The gtest in this commit fails without the fix.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 02:40:20 +00:00
Brindusan Cristian
d957131916 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-11 12:44:12 +03:00
Noemi Erli
3b770b4690 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-11 06:22:00 +03:00
Cosmin Sabou
8740a180ae Backed out changeset 6689a98f4a9f (bug 1551801) for Gtest failures on Snap_On_Momentum. 2019-06-11 01:22:04 +03:00
sotaro
ec2350cffb Bug 1557105 - Handle non-webrender widget case during enabling WebRender at ImageBridge r=nical
ImageBridgeChild has only one global TextureFactoryIdentifier. When WebRender is enabled, it is used for both WebRender widget and non-WebRender(BasicCompositor) widget. WebRenderImageHost and ImageHost are incompatible and WebRenderTextureHost does not permit to be consumed on compositor thread. Then it does not work well for non-WebRender widget. To address the problem at ImageContainer, ImageContainer needs to know a connected widget type. It is not easy in some cases like WebRTC. Then host side could address the problem easier.

CompositableParentManager::FindCompositable() is changed to permit transform from WebRenderImageHost to ImageHost if it is necessary when WebRenderImageHost belongs to ImageBridge.

WebRenderTextureHost is changed to permit to consume wrapped TextureHost on compositor thread. If the wrapped TextureHost is BufferTextureHost, it is possible to comsume the TextureHost on compositor and on RenderThread, since they are memory buffer or shared memory buffer. WebRTC code always create BufferTextureHost for video frame. Then it works.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 12:36:14 +00:00
Hiroyuki Ikezoe
d3a8e429e1 Bug 1551801 - Fix the velocity direction on pan gesture events. r=botond
The gtest in this commit fails without the fix.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 16:25:05 +00:00
Dzmitry Malyshau
f43371a2ff Bug 1474294 - Enable WR perspective box shadow reftest r=Gankro
a follow-up to the actual fix and the reftest

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:05:00 +00:00
Denis Palmeiro
c32ed0ea49 Bug 1551355 - Use TimeStamp::NowUnfuzzed() instead of TimeStamp::Now() during gecko profiling r=mstange
The profiler will require non-fuzzed timers for accuracy.  Making the switch early will avoid surprises when FuzzyFox is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 17:35:42 +00:00
Martin Stransky
b9dd89a7c5 Bug 1557271 - [Wayland] Merge nsWaylandDisplayShutdown.h and nsWaylandDisplay.h, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D33921

--HG--
extra : moz-landing-system : lando
2019-06-10 12:41:35 +00:00
Lee Salzman
06b9f322b2 Bug 1556433 - disable shared buffer provider when using direct texture mapping. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D34242

--HG--
extra : moz-landing-system : lando
2019-06-10 09:23:17 +00:00
Andrew Osmond
98b614b1c7 Bug 1557936 - Don't put oversized CMS profiles in about:support. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D34378
2019-06-10 14:34:50 -04:00
arthur.iakab
7125c13838 Backed out changeset 5d4915f544ca (bug 1557936) for causing build bustages on gfxPlatform.cpp 2019-06-10 21:04:21 +03:00
Andrew Osmond
a0903c8fe5 Bug 1558202 - Disable hardware acceleration on Linux if the GPU process becomes disabled. r=rhunt
If the GPU process becomes disabled due to crashes, then we should not
allow Linux to fallback from WebRender to OpenGL compositing in the
parent process. It should instead fallback to software just like
Windows. This is important because we don't support the OpenGL
compositor configuration.

Differential Revision: https://phabricator.services.mozilla.com/D34360
2019-06-10 13:44:30 -04:00
Andrew Osmond
e9821e53c6 Bug 1557936 - Don't put oversized CMS profiles in about:support. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D34378
2019-06-10 13:43:47 -04:00
Sylvestre Ledru
d6cc5ee003 Bug 1558054 - Fix warning "type qualifiers ignored on cast result type" r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34286

--HG--
extra : moz-landing-system : lando
2019-06-09 15:34:20 +00:00
Botond Ballo
1eb526e657 Bug 1553045 - Place the fallback scroll metadata onto the async zoom container layer if there is one. r=kats
This preserves the APZ invariant that if there is an async zoom container,
then the RCD-RSF scroll metadata is on the same layer or descendant layers.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 17:49:38 +00:00
Botond Ballo
ac9bcfca03 Bug 1553045 - Have APZ support the RCD-RSF scroll metadata being on the async zoom container layer. r=kats
This mostly already works, e.g. AsyncCompositionManager will apply both parts
of the transform independently, just a check in APZCTreeManager::
ComputeTransformForNode() needed to be adjusted.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 17:49:30 +00:00
Boris Zbarsky
4fcc4016bd Bug 1557905. Stop using [array] in nsIFontEnumerator. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D34265

--HG--
extra : moz-landing-system : lando
2019-06-08 08:50:47 +00:00
Kartikaya Gupta
a001de8d97 Bug 1555479 - Update wrench mozharness script to support running on a device as well. r=gbrown
The presence or absence of the DEVICE_SERIAL environment variable
is sufficient to control this.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 08:59:06 +00:00
Kartikaya Gupta
6d682927cb Bug 1555479 - Rename android_emulator_wrench to android_wrench.py. r=gbrown
This is in preparation for having the same script be used for emulator
and device runs. No functional change in this patch; it just renames
the file and class.

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

--HG--
rename : testing/mozharness/scripts/android_emulator_wrench.py => testing/mozharness/scripts/android_wrench.py
extra : moz-landing-system : lando
2019-06-08 08:59:02 +00:00
Kartikaya Gupta
3e5be83a11 Bug 1555479 - Update android skip annotations for Pixel2 results. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D33405

--HG--
extra : moz-landing-system : lando
2019-06-08 08:58:48 +00:00
Kartikaya Gupta
f2fe061b71 Bug 1555479 - Allow wrench to know when it is running in the emulator. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D33404

--HG--
extra : moz-landing-system : lando
2019-06-08 08:58:41 +00:00
Sylvestre Ledru
f1fbd2ff00 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-06-08 08:26:37 +00:00
Tarek Ziadé
b18ccf9c4e Bug 1529023 - Enable threads on macOS for GetProcInfo r=jld,mstange
To run task_for_pid() on child processes, we need the child task port for
security reasons. This port can be obtained via a Mach IPC exchange.

This is what GeckoChildProcessHost::GetChildTask() provides, so we use it
in cocoa's version of GetProcInfo()

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

--HG--
extra : moz-landing-system : lando
2019-06-07 19:56:51 +00:00
Jeff Muizelaar
73d47b32e2 Bug 1556473. Change DrawTargetD2D1::GetDeviceSpaceClipRect to always give back useful values. r=bas
Even if we have no clips applied it's valuable to give back the surface size.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 03:59:19 +00:00
Jeff Muizelaar
e565bbcea6 Bug 1556470. Add a Flush() to DrawTargetD2D1::IntoLuminanceSource(). r=bas
I needed this change to make things work with my CreateClippedDrawTarget. It
seems reasonable but I can't justify it rigorously.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 03:58:36 +00:00
Dzmitry Malyshau
9c48545798 Bug 1474294 - Perspective clip interpolation fix r=gw
Force perspective interpolation of UV coordinates in clip shaders.
In addition to fixing the interpolation curve, also adds checks for the homogeneous coordinates to be outside of the meaningful hemisphere, forcing the clip shaders to output zeroes in those areas.

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

--HG--
extra : moz-landing-system : lando
2019-06-08 02:53:37 +00:00
Emilio Cobos Álvarez
671c425d6f Bug 1557819 - Add a pref to disable async font sanitization, and disable it for now for running suspect code OMT. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D34241

--HG--
extra : moz-landing-system : lando
2019-06-07 23:35:26 +00:00
Botond Ballo
c9344d2f6c Bug 1557424 - Re-clamp the scroll offset if the composition bounds changes. r=kats
This is similar to bug 1551582, but concerns a main-thread change to the
composition bounds rather than the scrollable rect; either can result in
the scroll range shrinking and therefore a need to re-clamp the scroll offset.

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

--HG--
extra : moz-landing-system : lando
2019-06-07 22:17:04 +00:00
Dorel Luca
0c6758a3a2 Backed out changeset 4a658ccf88a0 (bug 1557271) for Build bustage. CLOSED TREE 2019-06-08 00:11:14 +03:00
Martin Stransky
0f49145143 Bug 1557271 - [Wayland] Merge nsWaylandDisplayShutdown.h and nsWaylandDisplay.h, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D33921

--HG--
extra : moz-landing-system : lando
2019-06-07 14:35:45 +00:00
Jeff Gilbert
581338764d Bug 1557577 - Remove GLContext::fDrawRangeElements. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D34104

--HG--
extra : moz-landing-system : lando
2019-06-07 10:20:19 +00:00
Sebastian Hengst
0d6b93005b Backed out changeset 0635eeb2fad4 (bug 1529023) for bustage in ChromeUtils.cpp. CLOSED TREE 2019-06-07 19:09:41 +02:00
Bruce Mitchener
48c8560298 Bug 1557721 - Use unwrap_or_default where possible. r=kvark
[wrupdater] From https://github.com/servo/webrender/pull/3667

Depends on D34166

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

--HG--
extra : moz-landing-system : lando
2019-06-07 16:19:22 +00:00
Bruce Mitchener
a0f2c26bd2 Bug 1557721 - Remove redundant closure. r=kvark
[wrupdater] From https://github.com/servo/webrender/pull/3667

Depends on D34165

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

--HG--
extra : moz-landing-system : lando
2019-06-07 16:19:14 +00:00
Bruce Mitchener
bba33e0309 Bug 1557721 - Simplify boolean expression. r=kvark
[wrupdater] From https://github.com/servo/webrender/pull/3667

Depends on D34164

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

--HG--
extra : moz-landing-system : lando
2019-06-07 16:18:25 +00:00
Bruce Mitchener
c41980d970 Bug 1557721 - Use or_insert_with where possible. r=kvark
[wrupdater] From https://github.com/servo/webrender/pull/3667

Depends on D34162

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

--HG--
extra : moz-landing-system : lando
2019-06-07 16:17:52 +00:00
Bruce Mitchener
8449544a47 Bug 1557721 - Remove redundant field names. r=kvark
[wrupdater] From https://github.com/servo/webrender/pull/3667

Depends on D34161

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

--HG--
extra : moz-landing-system : lando
2019-06-07 16:17:29 +00:00
Bruce Mitchener
8e8893bb16 Bug 1557721 - Use unwrap_or_else where possible. r=kvark
[wrupdater] From https://github.com/servo/webrender/pull/3667

Depends on D34160

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

--HG--
extra : moz-landing-system : lando
2019-06-07 16:17:07 +00:00
Bruce Mitchener
ef4c1180af Bug 1557721 - Remove identical conversion. r=kvark
[wrupdater] From https://github.com/servo/webrender/pull/3667

Depends on D34159

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

--HG--
extra : moz-landing-system : lando
2019-06-07 16:16:12 +00:00
Bruce Mitchener
5083295c77 Bug 1557721 - Remove unneeded return statement. r=kvark
[wrupdater] From https://github.com/servo/webrender/pull/3667

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

--HG--
extra : moz-landing-system : lando
2019-06-07 16:15:55 +00:00
Tarek Ziadé
2f870d3a3e Bug 1529023 - Enable threads on macOS for GetProcInfo r=jld,mstange
To run task_for_pid() on child processes, we need the child task port for
security reasons. This port can be obtained via a Mach IPC exchange.

This is what GeckoChildProcessHost::GetChildTask() provides, so we use it
in cocoa's version of GetProcInfo()

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

--HG--
extra : moz-landing-system : lando
2019-06-07 07:48:37 +00:00
Daniel Varga
851bd2386e Merge mozilla-central to autoland. on a CLOSED TREE 2019-06-07 19:24:42 +03:00
Daniel Varga
108b3fc423 Merge mozilla-inbound to mozilla-central. a=merge 2019-06-07 19:19:50 +03:00
Alexis Beingessner
a5a5beced5 Bug 1474294 - Add reftest for a box-shadow in perspective transform without preserve-3d. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D30980

--HG--
extra : moz-landing-system : lando
2019-06-07 14:40:30 +00:00
sotaro
e615d8edf3 Bug 1557257 - Rename KnowsCompositor* aForwarder to aKnowsCompositor r=nical
Differential Revision: https://phabricator.services.mozilla.com/D33928

--HG--
extra : moz-landing-system : lando
2019-06-07 12:27:05 +00:00
Daniel Varga
a05236937c Merge mozilla-central to autoland
--HG--
extra : rebase_source : ef48ee99e861f57c5e04f0230238ab31940e46b1
2019-06-07 12:58:55 +03:00