Commit Graph

33796 Commits

Author SHA1 Message Date
Daniel Varga
108b3fc423 Merge mozilla-inbound to mozilla-central. a=merge 2019-06-07 19:19:50 +03:00
Daniel Varga
a05236937c Merge mozilla-central to autoland
--HG--
extra : rebase_source : ef48ee99e861f57c5e04f0230238ab31940e46b1
2019-06-07 12:58:55 +03:00
Daniel Varga
fe7dbedf22 Merge mozilla-inbound to mozilla-central. a=merge 2019-06-07 12:50:35 +03:00
Csoregi Natalia
eb1f65e802 Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-06-07 01:40:06 +03:00
Csoregi Natalia
0bbc9b655d Merge inbound to mozilla-central. a=merge 2019-06-07 00:52:54 +03:00
Boris Chiou
d1f4ea261c Bug 1555548 - Send other transform-like properties as non-animating animation into compositor. r=hiro
Not only animating transform-like properties, but also non-animating ones have
to be passed into the compositor, so the final transform matrix could
take them into account (on the compositor).

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:29:46 +00:00
Jeff Gilbert
224ede5084 Bug 1547193 - ANGLE cherry-pick environ solaris fix. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D34044

--HG--
extra : moz-landing-system : lando
2019-06-06 21:46:43 +00:00
Csoregi Natalia
df1edb3dc0 Merge mozilla-central to autoland. CLOSED TREE 2019-06-07 01:38:51 +03:00
Miko Mynttinen
6c57050ada Bug 1490404 - Part 2: Add retained display list statistics r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D33680

--HG--
extra : moz-landing-system : lando
2019-06-06 17:54:14 +00:00
Jeff Muizelaar
620457f85d Bug 1556421. Fix DrawTargetOffset::GetRect. r=mstange
We want to ensure that we include the underlying DrawTarget's origin.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:11:10 +00:00
Jeff Muizelaar
5826a9c1f4 Bug 1556466. Fix into DrawTargetOffset::IntoLuminanceSource. r=mstange
Use the underlying mDrawTarget instead of the base class.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:11:27 +00:00
Jeff Muizelaar
f86acccbe5 Bug 1556468. Use the DrawTarget's offset when calculating the clip. r=mstange
The code currently assumes an offset of 0,0

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:12:31 +00:00
Kartikaya Gupta
37ebd39e5c Bug 1550467 - Add a test for event untransforms. r=botond
This exercises the transforms propagated in bug 1530661, which is
WebRender-specific (because the events only have the target layers id
set on them if WR is enabled).

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:49:52 +00:00
Kartikaya Gupta
ff26c575c6 Bug 1550467 - Also install SimpleTest.is into the fission window. r=botond
I split this out so it's more obvious what pieces need to be modified
to add additional functions.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:49:43 +00:00
Kartikaya Gupta
575727cc8b Bug 1550467 - Add a basic browser-mochitest for testing APZ+fission codepaths. r=botond,nika
This introduces the framework and helpers needed to do this kind of testing,
and adds a basic sanity test that ensures some basic functionality.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:49:34 +00:00
Kartikaya Gupta
aef7a3eaeb Bug 1550467 - Ensure that listeners in chrome scripts are cleaned up. r=botond,jmaher
Apparently leaving these listeners registered can leak DOM windows
(in some circumstances that I don't fully comprehend) which causes
test failures when running on debug builds. At any rate, unregistering
listeners on cleanup seems like a good thing to do.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 20:49:25 +00:00
Boris Zbarsky
89baee69d9 Bug 1557501. Stop using [array] in nsIPrefBranch. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D34032

--HG--
extra : moz-landing-system : lando
2019-06-07 01:01:12 +00:00
shindli
f8c85e378a Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-06-06 13:11:16 +03:00
shindli
3caa33a7ea Merge inbound to mozilla-central. a=merge 2019-06-06 12:57:52 +03:00
Cameron McCormack
7db6869429 Bug 1490792 - Part 4: Perform OpenType sanitization OMT. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D33897

--HG--
extra : moz-landing-system : lando
2019-06-06 19:08:52 +00:00
Cameron McCormack
ffd40c5e51 Bug 1490792 - Part 3: Split some work out of LoadPlatformFont. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D33896

--HG--
extra : moz-landing-system : lando
2019-06-06 18:23:31 +00:00
Cameron McCormack
e908038f14 Bug 1490792 - Part 2: Make LoadPlatformFont length argument not a reference. r=jfkthame
We don't write to it.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 18:23:29 +00:00
Cameron McCormack
2b49153d63 Bug 1490792 - Part 1: Move font type determination into SanitizeOpenTypeData. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D33894

--HG--
extra : moz-landing-system : lando
2019-06-06 18:23:27 +00:00
sotaro
82b76845fe Bug 1553969 - Do not disable WebRender at ImageBridgeChild when gecko uses WebRender r=nical
Differential Revision: https://phabricator.services.mozilla.com/D33753

--HG--
extra : moz-landing-system : lando
2019-06-06 02:17:22 +00:00
Nicolas Silva
c44ff5af9a Bug 1546894 - Keep track of current and begin points in path objects in case we'll create a builder from them. r=lsalzman
Because of the way the canvas 2D implementation juggles between path builders and paths, we have to keep track of current and first points in the path, in case a builder is created out of it.

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

--HG--
extra : source : c79b3af2395894b449731fccdd9eb006b4d0189e
2019-06-05 09:55:46 +02:00
sotaro
6680aadc04 Bug 1556340 - Make D3D11TextureData and DXGIYCbCrTextureData alive during host side usage with WebRender r=nical
By Bug 1555544 , it became clear that D3D11TextureData and DXGIYCbCrTextureData should not be deleted before calling RenderDXGITextureHostOGL::EnsureLockable() / RenderDXGITextureHostOGL::EnsureLockable().

With WebRender, the EnsureLockable()s are called on RenderThread asynchronously. Then for achieving the above, it is simpler just to keep D3D11TextureData and DXGIYCbCrTextureData alive during host side usage.

There is already a mechanism to do it. By using NotifyNotUsed, it could be done.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 22:50:50 +00:00
Bas Schouten
44af4c9b25 Bug 1555098: Fall back to non-double buffering when double buffering swap chain creation fails in CompositorD3D11, the way we do in advanced layers. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D33745

--HG--
extra : rebase_source : 02000eeb042542b6e1c4900ceefca69ee6d8eabc
2019-06-05 06:39:45 +02:00
Ryan Hunt
d1d4eb916c Bug 1556557 - Remove BrowserChildBase. r=nika
This class is only inherited by BrowserChild and seems to be a remnant of
the B2G days.

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

--HG--
extra : rebase_source : 504b3185b4cf59bcd4150935b9569641fbf8f844
extra : source : 82604ba5659a292616a10d19ad3f977b3094b33e
extra : histedit_source : 24b70700a41aeac53e2f34bf1f190867ffb75af6
2019-06-03 16:04:46 -04:00
Ryan Hunt
298a301151 Bug 1556548 - Make RenderFrame an internal detail to BrowserParent. r=mattwoodrow,farre
Code outside of BrowserParent should just get the LayersId from a getter
and not worry about RenderFrame.

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

--HG--
extra : rebase_source : 63f9f9680a7cb16a18d9e56999e02a124aa63429
extra : source : e86839ca63260b09184755c98890fa8abf371530
extra : histedit_source : 34333f5f78ecf9b4f3e12c6175a6e81724a41fb2
2019-05-31 16:00:57 -05:00
Nicolas Silva
5e669cb7bb Bug 1546894 - Fix PathBuilderCapture::CurrentPoint when closing a path. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D32459

--HG--
extra : source : 6131723bf0cf1c96352176832f91bcbc8b3432e9
2019-05-24 14:25:47 +02:00
Nicolas Silva
082205e739 Bug 1546894 - Fix PathBuilderSkia::CurrentPoint. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D32456

--HG--
extra : source : 566648165de4b80550337e6052f46eba653f0328
2019-05-27 12:36:32 +02:00
Bruce Mitchener
50752727e1 Bug 1557183 - Fix typos. r=kats
[wrupdater] From https://github.com/servo/webrender/pull/3665
2019-06-05 20:30:20 -04:00
arthur.iakab
94d096ca36 Merge mozilla-central to mozilla-inbound 2019-06-06 01:06:38 +03:00
Kartikaya Gupta
be4391585f Bug 1556597 - Fix warnings in webrender_bindings in nightly rust. r=Gankro
Depends on D33782

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

--HG--
extra : moz-landing-system : lando
2019-06-05 14:06:25 +00:00
Kartikaya Gupta
8d93d33a0b Bug 1556597 - Run cargo fix on webrender. r=Gankro
This is the result of `cargo +nightly fix --all-features --all-targets`
using a recent rust nightly.

Depends on D33781

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

--HG--
extra : moz-landing-system : lando
2019-06-05 14:07:48 +00:00
Kartikaya Gupta
d46fd3203f Bug 1556597 - Fix workspace warnings. r=Gankro
These warnings have been around forever; unused things in the workspace
Cargo.toml file that just need removing.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 14:05:32 +00:00
Jonathan Kew
d816e90844 Bug 1556991 - Remove the pref controlling WOFF2 support; it's always enabled. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D33777

--HG--
extra : moz-landing-system : lando
2019-06-05 13:47:26 +00:00
Jeff Muizelaar
fee767003f Bug 1556505. Handle offset surfaces in the other backends. r=rhunt
This brings DrawTargetCairo and DrawTargetD2D1 inline with DrawTargetSkia's
ability to handle SourceSurfaceOffset properly.

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

--HG--
extra : moz-landing-system : lando
2019-06-03 19:08:58 +00:00
Andrew Osmond
d639d2c5ac Bug 1435586 - Use static gfxPlatform methods directly instead of requiring initialization. r=kats
gfxPlatform::GetSourceSurfaceForSurface and CreateDrawTargetForSurface
are both static methods that we sometimes use via the pattern
gfxPlatform::GetPlatform()->... This is problematic because this forces
gfxPlatform to be initialized in the process, and in the GPU process, we
don't support this. It should be safe to call these methods without
initializing gfxPlatform, so this patch removes the GetPlatform() call.

GetSourceSurfaceForSurface may end up initializing gfxPlatform anyways,
depending on whether or not a DrawTarget was given. This should not be a
concern for the crashes observed in bug 1435586.

Differential Revision: https://phabricator.services.mozilla.com/D33785
2019-06-05 12:40:26 -04:00
Mihai Alexandru Michis
d07d090c31 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-06-05 12:59:10 +03:00
Connor Brewster
da4ad436ef Bug 1556590 - Display root render task instead of last render task in WebRender debugger r=gw
Differential Revision: https://phabricator.services.mozilla.com/D33582

--HG--
extra : moz-landing-system : lando
2019-06-04 20:52:29 +00:00
Lee Salzman
9b48977698 Bug 1556481 - check for DWrite failures in UnscaledFontDWrite::GetFontFileData. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D33585

--HG--
extra : moz-landing-system : lando
2019-06-04 09:26:11 +00:00
Dzmitry Malyshau
5fc1be5b39 Bug 1554502 - Track the reference frame of batched bounding boxes and enforce it in WR r=gw
Differential Revision: https://phabricator.services.mozilla.com/D33343

--HG--
extra : moz-landing-system : lando
2019-06-03 21:12:54 +00:00
Dan Glastonbury
f2af9f0231 Bug 1550640 - P2: Remove dead code resulting from refactoring of ItemRange. r=Gankro
Having `ItemRange` contain a byte slice means that the `display_list` and
`pipeline_id` don't need to be threaded through code that accesses items from
ItemRange.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 05:53:05 +00:00
Dan Glastonbury
8cde33bc21 Bug 1550640 - P1: Refactor ItemRange to contain u8 slices for byte ranges. r=Gankro
This refactor is in preparation for P3.

When refactoring `next_raw()` to use `peek_from` instead of
`deserialize_in_place`, it became clear that `ItemRange` is holding a slice of
bytes from the incoming serialized display list and `peek_from` could be adapted
work directly on the byte slice.

It was also noticed that the `get()` interface was potentially unsafe; any
`ItemRange` can be passed into `get()` for any display list.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 05:53:03 +00:00
Brindusan Cristian
9eb2f739c1 Merge inbound to mozilla-central. a=merge 2019-06-04 06:47:20 +03:00
Maya Rashish
cbc217134b Bug 1180498 - Tolerate a different major libGL.so on NetBSD as well r=jgilbert 2019-06-03 16:54:35 -07:00
sotaro
64ccd472e9 Bug 1556283 - Add more logs to RenderDXGITextureHostOGL and RenderDXGIYCbCrTextureHostOGL r=nical
Differential Revision: https://phabricator.services.mozilla.com/D33439

--HG--
extra : moz-landing-system : lando
2019-06-03 13:43:48 +00:00
Ryan VanderMeulen
e654402ba5 Bug 1554306 - Update HarfBuzz to version 2.5.1. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D32776

--HG--
rename : gfx/harfbuzz/src/hb-ot-name-language.cc => gfx/harfbuzz/src/hb-ot-name-language-static.hh
rename : gfx/harfbuzz/src/test-size-params.cc => gfx/harfbuzz/src/test-gpos-size-params.cc
rename : gfx/harfbuzz/src/test-would-substitute.cc => gfx/harfbuzz/src/test-gsub-would-substitute.cc
rename : gfx/harfbuzz/src/test-name-table.cc => gfx/harfbuzz/src/test-ot-name.cc
extra : moz-landing-system : lando
2019-06-03 15:11:49 +00:00
Ryan Hunt
267c1c0f34 Bug 1519546, part 8 - Also gather EffectsInfo for remote browsers with WebRender. r=jrmuizel
The nsDisplayListBuilder bits were added in the previous commit.

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

--HG--
extra : rebase_source : aec41ccaaab4c99b11ed94baf908d1ec61eaee31
extra : intermediate-source : bbcfdcc12774c1b8d78c6420614141382fed3d40
extra : source : 489c8d663f7f63ea32d3eb2226d45a84e51aabe8
2019-05-24 09:28:34 -05:00