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

11734 Коммитов

Автор SHA1 Сообщение Дата
sotaro 3acc79b45a Bug 1472951 - Remove ExternalImageId allocation for ImageClient r=nical 2018-07-06 21:25:33 +09:00
Gurzau Raul ecaa52212e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-04 19:33:40 +03:00
Ryan Hunt f3f8439588 Bug 1432531 - Move FlushAsyncPaints so it is unconditionally run in CompositorBridgeChild::Destroy. r=nical
--HG--
extra : rebase_source : a6d6739d363ee144b8c721bccf62bcb139339880
2018-07-03 09:44:40 -05:00
Ryan Hunt f8b04d075b Bug 1470528 - Implement CONTENT_FRAME_TIME for the webrender codepath. r=sotaro
This commit implements the CONTENT_FRAME_TIME metric for the webrender code
path. It follows the same structure as the previous commit implementing it for
the non-webrender code path.

MozReview-Commit-ID: 6aI5uISjgge

--HG--
extra : rebase_source : 973253589d6c27138bd49f4d81b3e74c3fcf5022
extra : histedit_source : 5b126b0285b674d59d8bd4b7bda09a01804dc043
2018-06-26 13:43:14 -05:00
Ryan Hunt 73970a1f68 Bug 1470528 - Implement CONTENT_FRAME_TIME for the non-webrender codepath. r=sotaro, data-review=francois
This commit adds the CONTENT_FRAME_TIME metric which tracks the time from the beginning
of a paint in the content process until it is presented in the compositor.

There is existing logging for frame latency which tracks from the beginning of a refresh
tick until the frame is presented. This is undesirable for this probe as javascript and
layout can run in this time period. So this probe uses the existing infrastructure for
logging frame latency, but uses a start time from BeginTransaction in layer manager.

MozReview-Commit-ID: 5z9LS3tsZTY

--HG--
extra : rebase_source : 29ebd6a85dd49ee263d50e3674eec4957ac5f12a
extra : histedit_source : 1aa9f4f31b5bff6736e0c0e576a5611880d0ab33
2018-06-26 13:40:10 -05:00
Ryan Hunt 36ba7ed8eb Bug 1470528 - Add IsRootWebrenderBridgeParent method. r=kats
This commit adds a helper function for determining if the WebRenderBridgeParent
is for a content process and replaces uses with it appropriately.

MozReview-Commit-ID: 6YZhjYEYS3P

--HG--
extra : rebase_source : 97b0a86c4a2905d098ab199d6d1a1fd00c58a46d
2018-06-26 13:37:31 -05:00
Ryan Hunt 0412e688a8 Bug 1473301 - Remove BorderLayer. r=mattwoodrow
MozReview-Commit-ID: KGXW2lYBZ3c

--HG--
extra : rebase_source : a782ec3fb1c87d1d034219cbd7fd1b8d9d751559
extra : amend_source : ec7c8f7b4080c53a851117cfb1c7611c3606c562
2018-07-03 16:15:58 -05:00
Narcis Beleuzu 04b4925170 Backed out 3 changesets (bug 1470528) for build bustages on WebRenderBridgeParent. CLOSED TREE
Backed out changeset 90513daef576 (bug 1470528)
Backed out changeset e438548991db (bug 1470528)
Backed out changeset f859daf8d8d9 (bug 1470528)
2018-07-04 00:41:14 +03:00
Ryan Hunt c284332e41 Bug 1470528 - Implement CONTENT_FRAME_TIME for the webrender codepath. r=sotaro
This commit implements the CONTENT_FRAME_TIME metric for the webrender code
path. It follows the same structure as the previous commit implementing it for
the non-webrender code path.

MozReview-Commit-ID: 6aI5uISjgge

--HG--
extra : rebase_source : acbf83d0071e8932b5e96016e6e39e27a7b4da8c
extra : histedit_source : a0f93f80441e5f45c0113244d15400d0f53d9c92
2018-06-26 13:43:14 -05:00
Ryan Hunt d34e6c84a0 Bug 1470528 - Implement CONTENT_FRAME_TIME for the non-webrender codepath. r=sotaro
This commit adds the CONTENT_FRAME_TIME metric which tracks the time from the beginning
of a paint in the content process until it is presented in the compositor.

There is existing logging for frame latency which tracks from the beginning of a refresh
tick until the frame is presented. This is undesirable for this probe as javascript and
layout can run in this time period. So this probe uses the existing infrastructure for
logging frame latency, but uses a start time from BeginTransaction in layer manager.

MozReview-Commit-ID: 5z9LS3tsZTY

--HG--
extra : rebase_source : cecb7149f50b2abe7a827dc20f1e8b8ade199258
extra : histedit_source : 581f8f38fc8335575d7275b903a8e1d6a9e5a369
2018-06-26 13:40:10 -05:00
Ryan Hunt 5ca70b4c61 Bug 1470528 - Add IsRootWebrenderBridgeParent method. r=kats
This commit adds a helper function for determining if the WebRenderBridgeParent
is for a content process and replaces uses with it appropriately.

MozReview-Commit-ID: 6YZhjYEYS3P

--HG--
extra : rebase_source : 8ecb1f9146376ac84b84680a5a3454200c940d6a
2018-06-26 13:37:31 -05:00
sotaro 6bfc2aa91f Bug 1472600 - Update SyncHandle when Tab is moved between windows r=nical 2018-07-03 08:43:17 +09:00
James Willcox ae6820174e Bug 1467918 - Fix APZ test utils to work with GeckoView r=botond
MozReview-Commit-ID: 9fKAgqnigGw
2018-07-02 11:55:35 -05:00
Kartikaya Gupta 7dd8ea5edc Bug 1470901 - Record scene build, scene swap, and render times in telemetry. r=sotaro
MozReview-Commit-ID: 1a6pqa0sSrU

--HG--
extra : rebase_source : d00f3f4d8d8df889d4b3dc62dd1d5f797093c07a
2018-07-04 07:52:22 -04:00
sotaro 58705ea969 Bug 1405465 - Handle WR paint codepath with no frame r=kats 2018-06-29 08:32:26 +09:00
Cosmin Sabou a612a6fdf5 Merge mozilla-central to mozilla-inbound. a=merge 2018-06-28 13:13:46 +03:00
Alexis Beingessner ea4c3f9153 Bug 1461204 - check the residual offset for following groups. r=kats
This was missed when the residual offset was added; it's correctly checked elsewhere

MozReview-Commit-ID: 44N5vDWLBIo

--HG--
extra : rebase_source : 37b42b8df416638e84531ed088c29716e4446159
2018-06-27 16:59:29 -04:00
sotaro 22c2a053bf Bug 1470386 - Recycle TextureClient at IMFYCbCrImage r=mattwoodrow 2018-06-28 12:56:36 +09:00
Dorel Luca f51c4fa5d9 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-27 13:26:49 +03:00
Kartikaya Gupta 4b90819f59 Bug 1466950 - Fix test to work on Android. r=hiro
MozReview-Commit-ID: G2NTiGUiw5Y

--HG--
extra : rebase_source : 149e87e81d115cbb1a1b1684e0022fc24f7a7eb5
2018-06-26 09:20:21 -04:00
Kartikaya Gupta b564a1c166 Bug 1471220 - Record the WR display list build time in the flb phase of content paint telemetry. r=mattwoodrow
MozReview-Commit-ID: 3nZxztEdXef

--HG--
extra : rebase_source : fe889adca13d21d857881e19fbffb3387afc18f4
2018-06-26 09:53:25 -04:00
Jeff Gilbert 5b753da289 Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Gurzau Raul 729b75ccb4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-27 00:55:38 +03:00
Emilio Cobos Álvarez c7d35aa526 Bug 1470930: Use enums for passing arguments for event dispatch. r=smaug
MozReview-Commit-ID: DsNuF7GAflJ
2018-06-26 18:22:06 +02:00
sotaro 209118a036 Bug 1471128 - Fix IMFYCbCrImage::GetD3D11TextureData() r=nical 2018-06-26 18:57:28 +09:00
Margareta Eliza Balazs c866c30fcf Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-26 12:24:32 +03:00
Chris Peterson 2afd829d0f Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.

MozReview-Commit-ID: 5UQVHElSpCr

--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Margareta Eliza Balazs 03ab62719a Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
2018-06-26 18:08:43 +03:00
Kartikaya Gupta 19dbb3ce5e Bug 1471047 - Ensure the DidComposite start timestamp for WebRender reflects the start of the compositor thread work. r=rhunt
MozReview-Commit-ID: Aya91LtDVZA

--HG--
extra : rebase_source : 3e063e914097b64cbb2fbbb30083a940d0d07190
2018-06-25 17:37:35 -04:00
Kartikaya Gupta 3aa8404841 Bug 1463911 - Record the COMPOSITE_TIME telemetry probe for the WR codepath. r=sotaro
On the non-WR codepath, the COMPOSITE_TIME probe records the time spent
in CompositorBridgeParent::ComposeToTarget, which does all the
compositing work from vsync to when stuff shows up on the screen. The
equivalent on the WR codepath is spread over multiple threads, but the
start is in WebRenderBridgeParent::ComposeToTarget and the end is when
we decrement the pending frame count in RenderThread. So we can
instrument those sites to record the interval.

MozReview-Commit-ID: 5EMUzBT1f6x

--HG--
extra : rebase_source : eafa7ea9931a3d3fb17b95dc9b9e4aa4ff9ff566
2018-06-25 10:55:26 -04:00
Gregory Szorc d82ec22992 Bug 1469999 - Use yaml.safe_load() for loading shaders manifest; r=chmanchester
yaml.load() isn't safe and can lead to arbitrary code execution for
untrusted input. While probably not an issue here, I'm trying to
rid the tree of all yaml.load() instances so we can add a lint to
ban its usage.

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

--HG--
extra : rebase_source : 4db69cde270b71335218b40d7b662c170854a6aa
extra : histedit_source : a740d99092c345ec8c6fcdb028498798c103b6a5
2018-06-20 14:32:46 -07:00
Mike Conley f88719f6e0 Bug 1449756 - Make DisplayPort suppression PresShell specific and not process global. r=kats
Originally, DisplayPort suppression was a process-global static. This change makes it possible
to control DisplayPort suppression on a per-PresShell basis.

Differential Revision: https://phabricator.services.mozilla.com/D1759
2018-06-25 21:42:25 +00:00
Lee Salzman 9e14da3f5a Bug 1470515 - refactor ScaledFontFreeType for Android WR. r=rhunt
--HG--
rename : gfx/2d/NativeFontResourceFontconfig.cpp => gfx/2d/NativeFontResourceFreeType.cpp
rename : gfx/2d/NativeFontResourceFontconfig.h => gfx/2d/NativeFontResourceFreeType.h
rename : gfx/2d/ScaledFontCairo.cpp => gfx/2d/ScaledFontFreeType.cpp
rename : gfx/2d/ScaledFontCairo.h => gfx/2d/ScaledFontFreeType.h
2018-06-14 16:42:56 -07:00
Jeremy Lempereur f1b87018df Bug 1468804 - Remove APZCTesterBase::APZCPanNoFling. r=botond
MozReview-Commit-ID: BgEh7E4lDYF

--HG--
extra : rebase_source : f1c70516574db025f21aad3ea6b27abb0b040bc5
2018-06-24 18:13:03 +02:00
Kartikaya Gupta 2b61f3cdd4 Bug 1448513 - Only do the panThreshold check if the threshold is > 0. r=botond
This optimization also sneakily avoids the call to UpdateWithTouchAtDevicePoint
which is what updates the Axis::mPos variable to the new touch point. Without
that update, mPos remains at the touchstart point, which ensures that the full
pixel delta from all the touchmove events gets turned into scrolling. Without
this, the first touchmove event always gets consumed in the process of overcoming
the pan threshold, which lead to flaky test behaviour.

MozReview-Commit-ID: Io0zqgh8MZR

--HG--
extra : rebase_source : bc8aa93d694470a26ea7f220880364ff0eb29642
2018-06-22 16:37:30 -04:00
Kashav Madan 942a794874 Bug 1470251 - Split test_group_touchevents into multiple files. r=botond
MozReview-Commit-ID: FNZvv7URTRH

--HG--
extra : rebase_source : 4e16b57e9e723e14a28b1da297cc3dcbf5cbfe3c
2018-06-21 14:13:13 -04:00
Ryan Hunt 27b4840273 Bug 1466146 - Add FlushRasterization as a metric for CONTENT_PAINT_PHASE_WEIGHT. r=mattwoodrow, data-review=francois
--HG--
extra : rebase_source : dcbf77adc7891b5f9ca49627370ce71f64ab3b87
2018-06-05 12:30:42 -05:00
sotaro 771f6241c0 Bug 1470090 - Fix LayerObserverEpoch handling r=nical 2018-06-21 22:39:45 +09:00
Botond Ballo a944591cff Bug 1459696 - Remove an unused overload of SetTargetAPZC(). r=kats
MozReview-Commit-ID: HiQKx5Ickcd

--HG--
extra : rebase_source : 5b063359cf8c0769eed081e131596fab15a44c1b
2018-06-20 16:54:03 -04:00
Botond Ballo 8c8f45893f Bug 1459696 - Add a mochitest. r=kats
MozReview-Commit-ID: JHx89SwL4xG

--HG--
extra : rebase_source : 23666190361c3f0213d5ca7836c61533bf90b3f0
2018-06-19 00:14:12 -04:00
Kartikaya Gupta 8b47047d0c No Bug - Fix logging now that clip ids are size_t. r=me and DONTBUILD 2018-06-20 16:30:13 -04:00
Kartikaya Gupta 46de881214 Bug 1467838 - Add tests for APZ hit-testing on touch-action elements. r=botond
MozReview-Commit-ID: Clmu6iRCG20

--HG--
extra : rebase_source : 30d711d060a9a7dfe00ea6543ccdbd019cd5b065
2018-06-18 20:49:17 -04:00
Botond Ballo fed9f792b7 Bug 1468634 - Allow running a single APZ mochitest subtest at a time. r=kats
This is done by passing "--setpref apz.subtest=<subtest-name>" on the
mochitest command line, where <subtest-name> is the name of the subtest file
(including the extension).

MozReview-Commit-ID: EscFekIeOxr

--HG--
extra : rebase_source : a969553edfd0bd46b9ff0be695af621cf3e10bff
2018-06-16 21:28:05 -04:00
Botond Ballo 6ab589537c Bug 1468634 - Don't silently swallow exceptions thrown in rubSubtestsSeriallyInFreshWindows(). r=kats
MozReview-Commit-ID: GRTY4ow1DCB

--HG--
extra : rebase_source : 589175a107b23644bf61af82a2f72fc4e48b6f8e
2018-06-16 21:26:34 -04:00
Kartikaya Gupta e14653c613 Bug 1348321 - Add a mochitest for dragging a scrollbar on a fixed transformed scrollframe. r=botond
MozReview-Commit-ID: EWYSrG4OO7m

--HG--
extra : rebase_source : 86dfd92745f65994c85efae03cf5bc3494cfdc3b
2018-06-15 18:27:15 -04:00
Kartikaya Gupta e9d34ef084 Bug 1348321 - Add a mochitest for dragging a scrollbar inside an SVGEffects item. r=botond
MozReview-Commit-ID: M0KmWSmXTt

--HG--
extra : rebase_source : e2f7e0f8ff5355b48aadabcd5795a90d52b11240
2018-06-15 18:27:08 -04:00
Kartikaya Gupta e75af768bd Bug 1348321 - Extract a scrollbar-dragging helper function. r=botond
MozReview-Commit-ID: 3EsWmpx78aG

--HG--
extra : rebase_source : 407118790dfb9be612dc27aa8953cc1ce830ac26
2018-06-15 18:27:08 -04:00
Kartikaya Gupta ed52bf7f44 Bug 1468545 - Add a test for dragging the scrollbar on an inactive scrollframe. r=botond
I had originally planned to land this as part of bug 1348321, with it
exercising the case from bug 1326290. However it exposed the issue that
I fixed in this bug, so it seems reasonable to land this test as part of
this bug.

MozReview-Commit-ID: EL1N9EmMXaC

--HG--
extra : rebase_source : 35ab71085e65929d287d9ba85025542ede7874f8
2018-06-15 18:13:48 -04:00
Kartikaya Gupta e111a245c8 Bug 1468545 - Treat all helper_* files as support files. r=botond
This saves us from having to constantly update this list. No functional
changes.

MozReview-Commit-ID: 5Vup4VKX2e8

--HG--
extra : rebase_source : b66e04795c40353caa4fe235dfd9b198a8bf20f4
2018-06-15 18:13:48 -04:00
Kartikaya Gupta 5a9a381638 Bug 1468545 - Add some logging for drag event handling. r=botond
I found this useful while debugging.

MozReview-Commit-ID: 1swqwStpAq0

--HG--
extra : rebase_source : 1731ed717a5446873439a0acc68abd14eb3d3590
2018-06-15 18:13:48 -04:00