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

12422 Коммитов

Автор SHA1 Сообщение Дата
Andreea Pavel 2a44f0abe0 Backed out 2 changesets (bug 1509575) for failing wpt at css/cssom-view/scroll-behavior-main-frame-root.html on a CLOSED TREE
Backed out changeset 245d6855cd3b (bug 1509575)
Backed out changeset 7dcfa876f76c (bug 1509575)
2019-01-11 09:08:19 +02:00
Botond Ballo e98d64e015 Bug 1509575 - Expose the isFirstPaint flag on LayerManager. r=kats
So that it's easily available during painting.

The flag is set based on nsIPresShell::mIsFirstPaint, but the pres shell
flag is cleared at the beginning of the paint, so we can't query it from
the pres shell during the paint.

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

--HG--
extra : moz-landing-system : lando
2019-01-11 04:21:20 +00:00
Daniel Varga f0a9c979bb Merge mozilla-inbound to mozillia-central. a=merge 2019-01-11 06:14:14 +02:00
Bas Schouten fd9a23b073 Bug 1519227: Register payload appropriately in CrossProcessCompositorBridgeParent. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D16246

--HG--
extra : rebase_source : d3c9ad182bbb83931b95bff0b130a98c8a66b8e5
2019-01-10 22:41:14 +01:00
Botond Ballo 2d2fffe3ea Bug 1507279 - Add a mechanism for the main thread to set a visual viewport offset. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D16141

--HG--
extra : moz-landing-system : lando
2019-01-10 20:59:13 +00:00
Jeff Muizelaar 17b5ec3dd2 Bug 1509182. Switch from using WrFilterOp to using FilterOp directly. r=nical
This avoids code duplication and simplifies push_stacking_context

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

--HG--
extra : moz-landing-system : lando
2019-01-10 19:41:08 +00:00
Cosmin Sabou 88993e172c Backed out changeset 10dedfde1015 (bug 1509182) for causing build bustages.
--HG--
extra : rebase_source : 4389819cbb88af16724480f571b0abcd027015ba
2019-01-10 20:52:49 +02:00
Masayuki Nakano dcd72cf37f Bug 1514975 - Synthesize mousemove event before contextmenu event caused by long tap r=smaug,kats
Chrome synthesizes mousemove event and related events (mouseover, mouseenter,
etc) when context menu event is fired by long tap.  This allows users to open
submenu which is opened by moving mouse cursor over a link.

So, this fix improves accessibility of our users on some websites which are
designed for desktop.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 09:09:42 +00:00
Brian Grinstead f6c12a437b Bug 1441935 - Modifications on top of the generated MozBrowser Custom Element r=mconley
In order to make the history easier to navigate, this changeset includes the
modifications required to make <xul:browser> actually work as a Custom Element,
and switches the app to use it instead of the XBL browser.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 01:45:43 +00:00
Jeff Muizelaar ef9bb810f0 Bug 1509182. Switch from using WrFilterOp to using FilterOp directly. r=nical
This avoids code duplication and simplifies push_stacking_context

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

--HG--
extra : moz-landing-system : lando
2019-01-10 18:40:56 +00:00
Csoregi Natalia ae6fde5883 Backed out changeset 8e078c86db82 (bug 1509182) for bustage on WebRenderTypes.h:789. CLOSED TREE 2019-01-10 18:15:42 +02:00
Jeff Muizelaar a0468b94c6 Bug 1509182. Switch from using WrFilterOp to using FilterOp directly. r=nical
This avoids code duplication and simplifies push_stacking_context

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

--HG--
extra : moz-landing-system : lando
2019-01-10 14:20:21 +00:00
Botond Ballo 3670a297b0 Bug 1518584 - Use WithinEpsilonOf() to clean up the comparisons in RequestContentRepaint(). r=kats
Depends on D15975

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

--HG--
extra : moz-landing-system : lando
2019-01-09 15:39:04 +00:00
Botond Ballo 0a180e8805 Bug 1518584 - Simplify some comparisons involving the layout viewport. r=kats
Depends on D15973

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

--HG--
extra : moz-landing-system : lando
2019-01-09 15:35:13 +00:00
Botond Ballo 8e0fca04b3 Bug 1518584 - Rename {FrameMetrics,RepaintRequest}::mViewport to mLayoutViewport. r=kats
Depends on D15972

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

--HG--
extra : moz-landing-system : lando
2019-01-09 15:34:34 +00:00
Botond Ballo 4c98f47607 Bug 1518584 - Remove {FrameMetrics,RepaintRequest}::mUseDisplayPortMargins. r=kats
It was always true.

Depends on D15971

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

--HG--
extra : moz-landing-system : lando
2019-01-09 15:33:10 +00:00
Botond Ballo 8cdff58f8d Bug 1518584 - Corresponding comment changes in RepaintRequest.h. r=kats
Depends on D15970

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

--HG--
extra : moz-landing-system : lando
2019-01-09 15:28:10 +00:00
Botond Ballo 66bad9bae6 Bug 1518584 - Update out-of-date comments in FrameMetrics.h. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D15970

--HG--
extra : moz-landing-system : lando
2019-01-09 15:27:53 +00:00
Barret Rennie 65938f22af Bug 1514803 - Replace XPCOM image encoder instance creation in gfxUtils::EncodeSourceSurface r=jrmuizel
gfxUtils::EncodeSourceSurface no longer uses a stringly-typed API to create a
`imgIEncoder` for the relevant MIME type. Instead, we now use an enum class and
switch on it to create the encoder.

Depends on D14816

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

--HG--
extra : moz-landing-system : lando
2019-01-09 16:29:33 +00:00
Emily Toop 35b2b208c9 Bug 1509271 - Ensure that `UpdateRootFrameMetrics` is called even if the GeckoView embedding app is not using the `AndroidDynamicToolbarAnimator`. r=kats
When selected text in `geckoview_example`, the text selection toolbar was always positioned in the top left corner of the screen, regardless of where in the page the text was selected.

The cause of the bug was that UpdateRootFrameMetrics was being called only if the app utilised the `AndroidDynamicToolbar`. This caused the `mViewportZoom` value inside `GeckoSession` to always be 0. When using the `clientToFrameMatrix` function to place the text selection toolbar on screen, the generated matrix was incorrect as the zoom value was 0, causing the resulting frame to be offset by the zoom value.

By ensuring that `UpdateRootFrameMetrics` is called inside `AsyncCompositionManager`even when there is no `AndroidDynamicToolbarAnimator` this zoom value is correctly set and the resulting frame for the text selection toolbar is correctly placed.

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

--HG--
extra : moz-landing-system : lando
2019-01-08 18:04:16 +00:00
WR Updater Bot e70e863f16 Bug 1518605 - Some follow-up fixes to make the different builds green. r=kats
Depends on D16006

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

--HG--
extra : moz-landing-system : lando
2019-01-09 03:27:48 +00:00
Dzmitry Malyshau cddd33e700 Bug 1518605 - New WebRender ClipId/SpatialId API. r=kats
Port to separate SpatialId from ClipId in Webrender API (WR PR #3251).
Patch was originally written and reviewed on bug 1503447.

Depends on D16005

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

--HG--
extra : moz-landing-system : lando
2019-01-09 03:27:07 +00:00
Kartikaya Gupta 271033048d Bug 1513133 - Guard against creating an excessively large drawtarget. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D15254

--HG--
extra : moz-landing-system : lando
2019-01-09 01:41:47 +00:00
Matt Woodrow 1e5ba15a36 Bug 1518582 - Only record CONTENT_FULL_PAINT_TIME for content process paints when using WebRender. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D15969

--HG--
extra : moz-landing-system : lando
2019-01-08 19:35:46 +00:00
Oana Pop Rus aec8de62bb Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-01-08 12:37:02 +02:00
Oana Pop Rus 3adbeba770 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-08 12:13:02 +02:00
Doug Thayer a848222b53 Bug 1441308 - Split out document pieces of WebRenderLayerManager r=jrmuizel
Per our discussion, this patch splits out the state management bits of
WebRenderLayerManager, allowing for them to be maintained per-document.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 21:33:10 +00:00
sotaro e87dc7e00e Bug 1505363 - Call DiscardCompositorAnimations() after calling WrBridge()->EndTransaction() r=kats
Discard animations after calling WrBridge()->EndTransaction(). It updates mWrEpoch in WebRenderBridgeParent. The updated mWrEpoch is necessary for deleting animations at the correct time.

Differential Revision: https://phabricator.services.mozilla.com/D15799
2019-01-08 08:57:03 +09:00
Bas Schouten bcd2741591 Bug 1506537 - Part 2: Add telemetry probe for keypress presentation latency. r=smaug
--HG--
extra : rebase_source : a2b95bb0dc8d10527dbb9569a7c02b163351aa1a
2018-12-13 03:33:56 +01:00
Bas Schouten a932b54860 Bug 1501442 - Part 3: Add profiler markers for payload presentarion. r=mstange
--HG--
extra : rebase_source : 7b3eeb59ab8823c5ebb674b933d95d1501f86210
2019-01-07 17:40:58 +01:00
Bas Schouten 4cf5cf3ec0 Bug 1501442 - Part 2: Propagate composition payload from clients to host. r=rhunt
--HG--
extra : rebase_source : 9053497a7a177855a8c5f1012a41e336b112c0a0
2018-12-13 15:56:51 +01:00
Bas Schouten 93c70bd2f6 Bug 1501442 - Part 1: Add CompositionPayload type and allow submitting it as part of a transaction. r=mstange
--HG--
extra : rebase_source : 20a6ac6929bc99b8ddbf5500e7edbaa514c7ebe2
2018-12-13 15:59:22 +01:00
Matt Woodrow 0f512a6434 Bug 1518044 - Pass FULL_PAINT_TIME value to CONTENT_FRAME_TIME calculation for non-WR. r=jrmuizel
This will let us get the MissedCompositeLow/Mid/Long variants in the CFT_REASON telemetry output.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 03:18:52 +00:00
Matt Woodrow 38c31ce8f3 Bug 1518044 - Record SVG and UPLOAD specific variants of CONTENT_FRAME_TIME using the vsync based timings. r=jrmuizel
We're switching to prefering the vsync version, so making these diagnostic equivalents use that timing should be more useful.
I think leaving the profiler marker (which uses ms, not vsync%) showing just the graphics component still makes sense.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 03:17:42 +00:00
Matt Woodrow 4b8807201a Bug 1518044 - Use shared CONTENT_FRAME_TIME calculation for non-WebRender. r=jrmuizel
This also results in us getting the CONTENT_FRAME_TIME profiler markers added for non-WR.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 03:15:57 +00:00
Matt Woodrow 33ed402279 Bug 1518044 - Move CONTENT_FRAME_TIME calculation code into CompositorBridgeParent. r=jrmuizel
This shouldn't change any behaviour, just puts the code into a separate function so that it's easier to follow.

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

--HG--
extra : moz-landing-system : lando
2019-01-07 03:14:28 +00:00
Jeff Muizelaar e63391c56c Bug 1517980. Have CONTENT_FRAME_TIME_REASON correspond to CONTENT_FRAME_TIME_VSYNC. r=mattwoodrow
CONTENT_FRAME_TIME_VSYNC is more meaningful metric because it actually
starts at the beginning of the vsync making it easier to reason about
missing frames. It makes more sense for CONTENT_FRAME_TIME_REASON wants
to use this same starting point.

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

--HG--
extra : moz-landing-system : lando
2019-01-05 23:10:20 +00:00
Lee Salzman 0e6b660c95 Bug 1515793 - pop blob image transform clips. r=mattwoodrow 2019-01-04 15:58:10 -05:00
Ciure Andrei 7a748ae68f Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-04 01:03:06 +02:00
Matt Woodrow 54f9f12d39 Bug 1517355 - Add CONTENT_FRAME_TIME variant that records from the vsync time. data-review=rrayborn, r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D15603

--HG--
extra : moz-landing-system : lando
2019-01-03 19:43:04 +00:00
Kartikaya Gupta 7c95c21247 Bug 1517275 - Add a null check before trying to use a controller. r=botond
In test code (which is where this codepath is mostly exercised), the
controller should never be null here. However this codepath is sadly
also used in production code on Android, and there we might experience a
page navigation or a similarly destructive action while the flush is
inflight. That can result in a null pointer dereference.

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

--HG--
extra : moz-landing-system : lando
2019-01-03 02:54:35 +00:00
Botond Ballo 8be2e31b96 Bug 1517328 - Make APZCTreeManager::FlushApzRepaints() static. r=kats
Since we no longer throttle paints, this function just sends a notification,
which does not rely on any tree manager state.

Depends on D15592

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

--HG--
extra : moz-landing-system : lando
2019-01-02 20:31:23 +00:00
Botond Ballo 0d84275a56 Bug 1517328 - Make APZCTreeManager::GetContentController() static. r=kats
The function does not depend on any state in the tree manager, since
the controller is looked up via sIndirectLayerTrees.

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

--HG--
extra : moz-landing-system : lando
2019-01-02 20:30:35 +00:00
Emilio Cobos Álvarez 63814207cb Bug 1516853 - Merge nsIDocument and nsDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D15498

--HG--
extra : moz-landing-system : lando
2018-12-31 14:10:19 +00:00
Cosmin Sabou fc229ed2c7 Merge mozilla-inbound to mozilla-central. a=merge 2018-12-30 11:31:03 +02:00
Lee Salzman 0a64cd8214 Bug 1455848 - output useful information about font file attributes with error. r=me 2018-12-29 22:07:02 -05:00
Hiroyuki Ikezoe 529616ef3a Bug 1516368 - Change SetResolutionAndScaleTo to take an enum instead of an nsAtoms*. r=botond
There is no reason to use nsAtoms*, it's error prone, i.e. the function
can take arbitrary nsAtoms*.

Depends on D15339

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

--HG--
extra : moz-landing-system : lando
2018-12-30 02:16:42 +00:00
Hiroyuki Ikezoe f36f418011 Bug 1516307 - Make nsIDOMWindowUtils.getResolution return the result value. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D15318

--HG--
extra : moz-landing-system : lando
2018-12-30 01:15:27 +00:00
Emilio Cobos Álvarez d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Sylvestre Ledru cccdda3c2a Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2018-12-28 15:48:06 +00:00