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

668752 Коммитов

Автор SHA1 Сообщение Дата
Robert Helmer 230a430565 Bug 1576507 - document FirstStartup module r=mythmon
Depends on D43366

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

--HG--
extra : moz-landing-system : lando
2019-08-31 16:15:17 +00:00
Robert Helmer 60e539c00a Bug 1576507 - add Normandy to FirstStartup service. r=mythmon
Depends on D43570

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

--HG--
extra : moz-landing-system : lando
2019-08-31 16:15:05 +00:00
Robert Helmer d01a800a32 Bug 1576507 - skip ClientEnvironment entries unavailable on first run r=mythmon
Depends on D43364

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

--HG--
extra : moz-landing-system : lando
2019-08-31 16:14:42 +00:00
Robert Helmer 4a60c06c56 Bug 1576507 - add new FirstStartup service and --first-startup post-install flag. r=mconley
FirstStartup provides an optional mechanism to run synchronous services
before the UI appears. This is intended to be called as a post-install
action from an installer, such as the Windows Stub Installer, to allow
for downloading critical data and performance tuning before the first
run of a new Firefox install.

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

--HG--
extra : moz-landing-system : lando
2019-08-31 16:14:20 +00:00
Markus Stange f08bba7374 Bug 1491456 - Split the window into "compositing tiles" sized to 1024x1024. r=mattwoodrow
The tile size is configurable with the prefs layers.compositing-tiles.width/height.

On macOS, whenever a CALayer is touched, the window server will recomposite the
entire layer to the screen. There is no API to mark parts of a layer as damaged.
So if we want the window server to only redraw a small part of the screen, we
need to only touch small layers. This patch achieves that using tiles; whenever
the compositor needs to redraw an area, all tiles that overlap this area will
be drawn to their layers and the window server will recomposite those layers.

On Intel GPUs, compositing in tiles should also help reduce GPU times if there
are multiple layers of overdraw: The overdraw will have better cache locality.
However, the magnitude of this effect is not known and requires further research.

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

--HG--
extra : moz-landing-system : lando
2019-08-31 16:00:16 +00:00
Markus Stange 8b0020ab7e Bug 1574586 - Create separate NativeLayer objects for opaque and transparent parts of the window, and do one composite each to draw their contents. r=mattwoodrow
This means that when something changes in an opaque layer, the window server
only needs to copy the opaque layer to the screen and can avoid recomputing any
window backgrounds for transparent parts of the window. This can save power,
especially when transparent parts of the window use the macOS vibrancy effect,
which requires the window server to compute a blur and to composite windows
behind our window.

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

--HG--
extra : moz-landing-system : lando
2019-08-31 16:03:42 +00:00
Dale Harvey 5cfefa7835 Bug 1572470 - Add wikipedia to engines.json r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D43768

--HG--
extra : moz-landing-system : lando
2019-08-30 15:02:47 +00:00
Nathan Froyd 1793f8666d Bug 1576748 - make symbolstore.py complain loudly if expected output isn't found; r=nalexander
This change surfaces errors faster, and ensures that we don't silently
end up with empty crashreporter symbols if `dump_syms` can't run for
some reason.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 15:37:13 +00:00
Nathan Froyd 7509b5e08a Bug 1577831 - remove `using namespace std;` from IPC glue code; r=jld
Just some minor prefixing needs to be done to enable this.

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

--HG--
extra : moz-landing-system : lando
2019-08-31 00:00:12 +00:00
Sylvestre Ledru a3c3a55924 Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in dom/vr/ r=kip
Depends on D43781

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

--HG--
extra : moz-landing-system : lando
2019-08-30 21:55:18 +00:00
Henri Sivonen 95fecf7af4 Bug 1577700 - Add a function for obtaining a Span of char from a Span of uint8_t. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D44124

--HG--
extra : moz-landing-system : lando
2019-08-30 13:16:19 +00:00
Bob Owen 17bddfd388 Bug 1575906: Allow the GMP process to duplicate Section handles to the main process. r=handyman
Differential Revision: https://phabricator.services.mozilla.com/D44237

--HG--
extra : moz-landing-system : lando
2019-08-30 21:39:57 +00:00
Dorel Luca e8f334670d Merge mozilla-inbound to mozilla-central. a=merge 2019-08-31 12:47:56 +03:00
Dorel Luca bb7e54e846 Merge autoland to mozilla-central. a=merge 2019-08-31 12:42:33 +03:00
Coroiu Cristina 6dce799feb Backed out changeset 204d32b36d7e (bug 1575240) for frequently failing devtools at devtools/client/inspector/test/browser_inspector_menu-06-other.js 2019-08-31 11:25:08 +03:00
Mihai Alexandru Michis a8b83ae90f Merge autoland to mozilla-central. a=merge 2019-08-31 00:53:31 +03:00
shindli b382be941d Merge autoland to mozilla-central. a=merge 2019-08-30 19:17:31 +03:00
Dão Gottwald 22e86c016f Bug 1577752 - Use padding-block and padding-inline for the urlbar's one-off search button adjustments. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D44141

--HG--
extra : moz-landing-system : lando
2019-08-30 12:52:42 +00:00
Dão Gottwald e5663c5e75 Bug 1577742 - Inrease the megabar's z-index so it overlaps the tab overflow indicators. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D44135

--HG--
extra : moz-landing-system : lando
2019-08-30 13:05:20 +00:00
Emilio Cobos Álvarez 4cedbb4380 Bug 1577749 - Fix check_sccache_version when using RUSTC_WRAPPER. r=jwatt a=Aryx
Differential Revision: https://phabricator.services.mozilla.com/D44139

--HG--
extra : source : cd8cfdc6b5b3d0ce775afda2bb3c443451baa20f
extra : histedit_source : c048c74d4a7f8cdf3d245c1ad0e4a875c7e0b1a7
2019-08-30 12:22:12 +00:00
Cosmin Sabou 7e52753eda Bug 1577362 - Disable browser_allowListSeparationInPrivateAndNormalWindows.js on fission. r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D44095

--HG--
extra : moz-landing-system : lando
2019-08-30 09:56:24 +00:00
Dale Harvey 6e2b1a210d Bug 1542268 - Use new engine selector behind a pref r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D42879

--HG--
extra : moz-landing-system : lando
2019-08-30 14:01:59 +00:00
Makoto Kato 6aaa810233 Bug 1577685 - Move some utility functions from IMEStateManager to widget. r=masayuki
I would like to log `IMEState` and `InputContextAction`in widget. But this
utilities are in `IMEStateManager`, so I would like to move it to widget
by using `mozilla/ToString.h`.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 05:56:58 +00:00
Michal Novotny a9aa8451c2 Bug 1570932 - Add telemetry about how often we observe network change events, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D44215

--HG--
extra : moz-landing-system : lando
2019-08-30 18:18:19 +00:00
Daniel Holbert 96c4bc8f3b Bug 1577053 part 3: Add lang="ja" to text-emphasis reftest files that weren't regenerated by the scripts in the support subfolder. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D44259

--HG--
extra : moz-landing-system : lando
2019-08-31 01:11:14 +00:00
Daniel Holbert 37b0bae570 Bug 1577053 part 2: Re-run scripts to generate text-emphasis-* reftests. r=jfkthame
This patch was generated by running each of the scripts in the folder
layout/reftests/w3c-css/submitted/text-decor-3/support/

(This patch also includes a manual edit to reftest.list, to annotate some Win7
fuzziness that was caused by the new choice of font for a set of tests here.)

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

--HG--
extra : moz-landing-system : lando
2019-08-31 01:11:07 +00:00
Daniel Holbert ed680a9c13 Bug 1577053 part 1: Update generate-text-emphasis-* test creation scripts to add lang="ja". r=jfkthame
Also, adjust the scripts to leave behind a note in each generated HTML file, to
tell the reader that the file is auto-generated.

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

--HG--
extra : moz-landing-system : lando
2019-08-31 01:10:58 +00:00
Mihai Alexandru Michis 13b5aea376 Bug 1574745 - Fix bustages on OS X Cross Compiled. a=bustage-fix CLOSED TREE
--HG--
extra : amend_source : 3fcae6bae609b58437fbc1e981dc00b03a3e3432
2019-08-31 05:05:53 +03:00
Nick Alexander ecf61beb44 Bug 1577922 - Bump browsertime hash to c795660ef1e589dfb8bf01397782811934c90696. r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D44288

--HG--
extra : moz-landing-system : lando
2019-08-31 01:35:40 +00:00
Markus Stange 6d617acaca Bug 1574745 - Get everything ready for rendering into multiple native layers. r=mattwoodrow
This change breaks the draw-fps overlay when using native layers. I'll try to
fix that in a new bug soon.

The do { } while(0) loop looks a bit odd, but it'll get replaced with a proper
loop in bug 1574586.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 21:52:32 +00:00
Markus Stange fe46c46820 Bug 1574745 - Reorder layer rendering invocations. r=mattwoodrow
This change groups the work that has to be done per compositing tile.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 19:52:56 +00:00
Markus Stange 2fccca3dcc Bug 1574745 - Maintain a full window render target when rendering to native layers with CompositorOGL. r=mattwoodrow
This makes profiler screenshots and frame recording work again, when native
layers are used. The copying is a bit unfortunate. Maybe we can combine this
copy with the first downscaling step in the future. Or for frame recording,
which doesn't use downscaling, we could readback the layers individually and
reassemble them in CPU memory. But both of those solutions are more complex
than this.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 19:52:40 +00:00
Markus Stange b2ce563f4b Bug 1574745 - Change BlitFrameBufferToFrameBuffer to take rects instead of sizes. r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D43876

--HG--
extra : moz-landing-system : lando
2019-08-31 01:30:53 +00:00
Markus Stange e9142df968 Bug 1574745 - Move ShouldRecordFrames() from BasicCompositor to Compositor because CompositorOGL will need it. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D43875

--HG--
extra : moz-landing-system : lando
2019-08-30 19:52:15 +00:00
Markus Stange 8490842d2f Bug 1574745 - Calculate mShouldInvalidateWindow at the beginning of the frame. r=mattwoodrow
This is so that we can invalidate all layers when screenshot profiling has
started, and not just the first layer.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 19:52:13 +00:00
Markus Stange 611b0edd41 Bug 1574745 - Add BeginFrameForNativeLayers() and Begin/EndRenderingToNativeLayer. r=mattwoodrow
This will let us render into multiple layers within one compositor frame.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 21:37:55 +00:00
Markus Stange 603b907093 Bug 1574745 - Add BeginFrameForTarget and replace Set/ClearTargetContext. r=mattwoodrow
This removes any *TargetContext methods from the Compositor interface and moves
 mTarget tracking into the compositor implementations.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 19:51:59 +00:00
Markus Stange 5dc3f8c82a Bug 1574745 - Rename BeginFrame to BeginFrameForWindow. r=mattwoodrow
In the end we want to have BeginFrameForWindow, BeginFrameForTarget, and
BeginFrameForNativeLayers, the latter with multiple Begin/EndRenderingToNativeLayer
pairs nested inside.

This is the first step.

CompositorOGL and CompositorD3D11 keep their internal BeginFrame method but make
it private.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 19:51:55 +00:00
Markus Stange cb05c82010 Bug 1574745 - Make DrawGeometry culling work more reliably. r=mattwoodrow
The call to TransformAndClipBounds already clips destRect to renderBounds.
However, if the resulting rect was empty, the Inflate call would make it
non-empty again. And now the decision whether we would cull would depend on the
rect's position: Sometimes TransformAndClipBounds would place the empty rect at
a position along an edge of renderBounds, and then the inflated-from-nothingness
2x2 rect would overlap renderBounds and we wouldn't cull.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 19:51:45 +00:00
Markus Stange 4bcd4b8795 Bug 1574745 - Respect render target clip during DrawGeometry culling and overdraw pixel counting. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D43869

--HG--
extra : moz-landing-system : lando
2019-08-30 19:51:37 +00:00
Markus Stange c3ccb5e5ca Bug 1574745 - Prepare CompositorOGL for native layers that are not located at (0, 0). r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D42424

--HG--
extra : moz-landing-system : lando
2019-08-30 19:49:58 +00:00
Markus Stange 77e2ee0c73 Bug 1574745 - Treat aClipRect in CompositorOGL::DrawGeometry correctly when drawing to a root render target that's not at (0, 0). r=mattwoodrow
This uses the same workaround as BasicCompositor.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 19:49:46 +00:00
Markus Stange e8fb08f553 Bug 1574745 - Prepare BasicCompositor for layers that are not located at (0, 0). r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D43867

--HG--
extra : moz-landing-system : lando
2019-08-30 19:49:27 +00:00
Markus Stange c9db8b17d1 Bug 1574745 - Use an explicit offset to deal with the fact that aClipRect in Compositor::DrawGeometry is relative to (0, 0) for the root render target, and not in the render target's device space. r=mattwoodrow
aClipRect is relative to
closestAncestorContainerLayerWithIntermediateSurface->GetVisibleRegion().GetBounds().TopLeft()
or (0, 0) if there is no ancestor with an intermediate surface.
It gets computed by Layer::CalculateScissorRect.
So if there is an intermediate surface, that origin matches the render target
origin. But if there is no intermediate surface, it does not always match: the
root render target's origin is not necessarily (0, 0).

In the past, BasicCompositor dealt with this by using the transform on the root
render target's mDrawTarget, which gets set in CreateRenderTargetAndClear
(renamed to CreateRootRenderTarget in this patch). Render targets created in the
regular CreateRenderTarget did not have a transform.
This allowed DrawGeometry to only conditionally apply an offset to aClipRect;
the offset was applied by calling PushClipRect before resetting the transform.
Now all render targets have a translation by -offset on their DrawTarget, not
just the root render target.

I went with an explicit "clip space origin" field on the render target.
Other alternatives would have been:
 - Having a bool IsRootRenderTarget() and using that to conditionally offset
   aClipRect by the render target origin or not.
 - Changing Layer::CalculateScissorRect so that the clip space origin is always
   (0, 0). I actually tried this first but ran into trouble with the MLGPU code.
   We can do it later.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 19:49:14 +00:00
Jeff Walden d14808b828 Bug 1577373 - Move readable stream default controller operations into their own file. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D43921

--HG--
rename : js/src/builtin/Stream.cpp => js/src/builtin/streams/ReadableStreamDefaultControllerOperations.cpp
rename : js/src/builtin/Stream.h => js/src/builtin/streams/ReadableStreamDefaultControllerOperations.h
extra : moz-landing-system : lando
2019-08-31 01:17:12 +00:00
Jeff Walden 4779fc3ac6 Bug 1577373 - Move ReadableStreamDefaultController details into separate files. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D43920

--HG--
rename : js/src/builtin/Stream.h => js/src/builtin/streams/ReadableStreamController.h
rename : js/src/builtin/Stream.cpp => js/src/builtin/streams/ReadableStreamDefaultController.cpp
extra : moz-landing-system : lando
2019-08-31 01:16:54 +00:00
Jeff Walden bb74937322 Bug 1577373 - Move ReadableStream stream/controller interactions to separate files. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D43919

--HG--
rename : js/src/builtin/Stream.cpp => js/src/builtin/streams/ReadableStreamInternals.cpp
rename : js/src/builtin/Stream.h => js/src/builtin/streams/ReadableStreamInternals.h
extra : moz-landing-system : lando
2019-08-31 01:16:42 +00:00
Jeff Walden 427ecd8b9f Bug 1577373 - Move IsMaybeWrapped to a header so it can be used in multiple files. (It can't be *static* in those multiple files because of scumbag unified builds.) r=arai
Differential Revision: https://phabricator.services.mozilla.com/D43918

--HG--
extra : moz-landing-system : lando
2019-08-31 01:16:29 +00:00
Jeff Walden a3c928f70d Bug 1577373 - Move ReadableStream standard library bits into separate files. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D43917

--HG--
rename : js/src/builtin/Stream.cpp => js/src/builtin/streams/ReadableStream.cpp
rename : js/src/builtin/Stream.h => js/src/builtin/streams/ReadableStream.h
extra : moz-landing-system : lando
2019-08-31 01:16:17 +00:00
Jeff Walden 59c5aae50a Bug 1577373 - Split PullIntoDescriptor code into separate files. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D43916

--HG--
rename : js/src/builtin/Stream.cpp => js/src/builtin/streams/PullIntoDescriptor.cpp
rename : js/src/builtin/Stream.cpp => js/src/builtin/streams/PullIntoDescriptor.h
extra : moz-landing-system : lando
2019-08-31 01:16:10 +00:00