Commit Graph

33981 Commits

Author SHA1 Message Date
Kearwood "Kip" Gilbert
816af12bb5 Bug 1466702 - Refactor / reimplement gfxVRPuppet and VRServiceTest to use gfxVRExternal r=daoshengmu,thomasmo,bzbarsky
gfxVRPuppet will be replaced with a fully asynchronous puppet automation that runs in the VR process.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 21:19:54 +00:00
Botond Ballo
969a60d6a2 Bug 1561726 - Add a test to exercise dragging the viewport scrollbar. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D34259

--HG--
extra : moz-landing-system : lando
2019-06-28 20:23:36 +00:00
Botond Ballo
5a017eafd4 Bug 1561726 - Modify dragVerticalScrollbar() to support dragging the viewport scrollbar as well. r=kats
Dragging the viewport scrollbar is accomplished by passing in a window
rather than an element.

Note that we can't just pass in the window's document.documentElement,
because coordinatesRelativeToScreen() would not give the correct result
for it. This is turn is because for a scrollable <div>, getBoundingClientRect()
returns the scroll frame's outer rect, but for the <html> element,
getBoundingClientRect() returns the root scroll frame's inner rect.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 20:23:08 +00:00
Narcis Beleuzu
a89b67e772 Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697) for toolchain bustages on UniquePtrExtensions.h . CLOSED TREE
Backed out changeset a8518ea4b594 (bug 1479960)
Backed out changeset 7172762c4b87 (bug 1536697)
Backed out changeset 2ea5ccb8f3a1 (bug 1426526)
Backed out changeset d892a888fe9c (bug 1426526)
Backed out changeset 2c4d12bdfec3 (bug 1479960)
Backed out changeset 8a322064cf6d (bug 1479960)
Backed out changeset 47d387b6cd4a (bug 1479960)
Backed out changeset 8332565a6943 (bug 1479960)
Backed out changeset 9d7f1835f96f (bug 1479960)
Backed out changeset 0aa8af4965c5 (bug 1479960)
Backed out changeset 036809330a51 (bug 1479960)
Backed out changeset 39e18373e3d3 (bug 1479960)
Backed out changeset 6c2b995a9d30 (bug 1479960)
Backed out changeset 3c2b31744645 (bug 1534780)
Backed out changeset 26bb00a94d5d (bug 1534780)
2019-06-28 22:42:00 +03:00
Geoff Brown
945ee0068f Bug 1556058 - Update test expectations for Android 7.0 reftests; r=kats
These changes are needed for consistently green runs with the new emulator with
"-gpu on".
Most changes are simple removal of fuzzy-if(geckoview) but I also needed to add
at least one new fuzzy-if.
In this configuration we can run reftests in just 2 chunks (20 minutes each on
opt/30 minutes on debug).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 17:30:48 +00:00
Jeff Muizelaar
02cad972cd Bug 1562278. Forward more methods of DrawTargetOffset. r=mstange
This lets us avoid falling back to the generic implementations
unnecessarily.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 18:41:17 +00:00
Kartikaya Gupta
a0c31965e9 Bug 1561261 - Don't import requests at the top level. r=ahal
For some reason this causes some sort of failure in the doc upload
process. No other mach_commands.py files do this so this patch moves
the import into the functions that use it, which bypasses the problem.

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

--HG--
extra : moz-landing-system : lando
2019-06-28 14:51:20 +00:00
Emilio Cobos Álvarez
b1ca51fe1e Bug 1561738 - Remove nsStyleCoord. r=boris
And move the useful bits of it somewhere else (ServoStyleConstInlines.h for the
inline function definitions, and nsFrame.cpp for the static assertions).

Differential Revision: https://phabricator.services.mozilla.com/D36120
2019-06-28 12:44:44 +02:00
Cosmin Sabou
2fa2a56685 Backed out 3 changesets (bug 1561738) for causing build bustages on nsGridContainerFrame.cpp CLOSED TREE
Backed out changeset 98f100abc2ba (bug 1561738)
Backed out changeset 9ed20d0fb9ba (bug 1561738)
Backed out changeset 483b1e134ace (bug 1561738)
2019-06-28 13:27:09 +03:00
Emilio Cobos Álvarez
e023916761 Bug 1561738 - Remove nsStyleCoord. r=boris
And move the useful bits of it somewhere else (ServoStyleConstInlines.h for the
inline function definitions, and nsFrame.cpp for the static assertions).

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

--HG--
extra : moz-landing-system : lando
2019-06-28 09:46:26 +00:00
Matt Woodrow
3e1eacd221 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-28 06:32:43 +00:00
Matt Woodrow
cf1e91357b 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-28 07:00:41 +00:00
Jeff Gilbert
a10d8469c2 Bug 1507696 - Cherry-pick CopyTexImage3D fixes. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D36117

--HG--
extra : moz-landing-system : lando
2019-06-27 06:21:11 +00:00
Kartikaya Gupta
5d17058690 Bug 1558933 - Re-enable reftest that is now passing again. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D36230

--HG--
extra : moz-landing-system : lando
2019-06-27 20:53:42 +00:00
Coroiu Cristina
057f20d982 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-06-27 12:42:29 +03:00
Coroiu Cristina
f91bd38732 Merge inbound to mozilla-central a=merge 2019-06-27 12:36:00 +03:00
Daniel Varga
de3b8e8e10 Backed out 6 changesets (bug 1561178) for profile guided optimization build fail in artifacts\\profdata.tar.xz. On a CLOSED TREE
Backed out changeset 2150f683f8a8 (bug 1561178)
Backed out changeset 059c79722bcb (bug 1561178)
Backed out changeset 6f206fecaa56 (bug 1561178)
Backed out changeset d449e8c96753 (bug 1561178)
Backed out changeset 557f55a90c8a (bug 1561178)
Backed out changeset e1521d8fbe90 (bug 1561178)

--HG--
extra : amend_source : b0fc184cfb6d03af977f9f633def4d265dd74bce
2019-06-27 08:19:28 +03:00
Nicholas Nethercote
8b27a136fc Bug 1561491 - Make image.* static prefs follow the naming convention. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D35977

--HG--
extra : rebase_source : 7bf85fbb4f8564969cf9c945dd0ea46002f166a6
2019-06-26 13:24:21 +10:00
Nicholas Nethercote
54aaa29a52 Bug 1561491 - Make gl.* static prefs follow the naming convention. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D35976

--HG--
extra : rebase_source : 0e054c5ac565d30c3bd9621d82d41075bdfddd5b
2019-06-26 13:05:06 +10:00
Nicholas Nethercote
ca8e78069d Bug 1561491 - Make gfx.* static prefs follow the naming convention. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D35975

--HG--
extra : rebase_source : 9090ac828f1da9582510975047d5ad59a228dda5
2019-06-26 10:38:09 +10:00
Nicholas Nethercote
faccca25c4 Bug 1561491 - Make general.* static prefs follow the naming convention. r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D35974

--HG--
extra : rebase_source : 9a458b930592cd794eae8557553421b0b6e6d66b
2019-06-25 17:07:57 +10:00
Nicholas Nethercote
84b32d3654 Bug 1561491 - Make browser.* and dom.vr.* static prefs follow the naming convention. r=KrisWright
The patch also removes the dom.vr.oculus.quit.timeout pref, because it's
unused.

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

--HG--
extra : rebase_source : bd16ed5ff0b7c2b4f8e653e9835610b25b14a39f
2019-06-25 16:32:29 +10:00
Jeff Gilbert
4ca782e561 Bug 1559681 - Repair device-reset handling in RenderCompositorANGLE. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D35882

--HG--
extra : moz-landing-system : lando
2019-06-26 06:03:23 +00:00
Cosmin Sabou
2fa3b2ee5b Merge mozilla-inbound to mozilla-central. a=merge 2019-06-26 06:58:03 +03:00
Nicholas Nethercote
9f0b35cc2a Bug 1560837 - Make APZ static prefs follow the naming convention. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D35633

--HG--
extra : rebase_source : e71193756486b148d479e90b324f73dc35756429
2019-06-24 13:57:06 +10:00
arthur.iakab
785bee02e8 Merge mozilla-central to mozilla-inbound 2019-06-26 01:09:31 +03:00
Lee Salzman
acf891925e Bug 1559957 - reset Cairo data in WillShutdown before gfxPlatform destructor is called. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D35820

--HG--
extra : moz-landing-system : lando
2019-06-25 17:35:55 +00:00
Dzmitry Malyshau
12edec92c3 Bug 1561021 - Cleanup WR picture caching setup a bit r=gw
Follow-up to D35139 that removes a hundred LOC

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

--HG--
extra : moz-landing-system : lando
2019-06-25 05:30:06 +00:00
Andrew Osmond
e6fe246634 Bug 1558883 - Add QCMS transform correctness and performance tests. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D34765
2019-06-25 09:45:56 -04:00
Jeff Muizelaar
2362d4f5cb Bug 1561087. Assert that SVG_WRAPPER is handled elsewhere. r=aosmond
SVG_WRAPPER should be handled by the blob invalidation code. Let's ensure
that's true.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 13:42:26 +00:00
Jeff Gilbert
4e80fa71e2 Bug 1544446 - Restrict macOS MAX_TEXTURE_SIZE to 8192. r=lsalzman
Also clean up MAX_TEXTURE_SIZE restriction code.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 01:54:06 +00:00
Lee Salzman
7dab69c7de Bug 1560582 - limit Skia glyph batch sizes. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D36148

--HG--
extra : moz-landing-system : lando
2019-06-27 02:42:24 +00:00
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