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

31124 Коммитов

Автор SHA1 Сообщение Дата
Ryan Hunt 84bbf4f7d0 Bug 1475139 part 11 - Add CrossProcessPaint implementation. r=mattwoodrow
This commit adds a CrossProcessPaint class which can be used to paint a
cross process document tree. This API is async, as we cannot block on child
processes, and initially geared towards servicing a JS API and not internal
consumers. The API can only be used in the chrome process for security
reasons.

The class is implemented as a recursive resolver, requesting a root paint,
gathering dependent frames to be painted, then requesting paints from those
tabs. Once all paints have been completed, the dependency tree is rasterized
in a bottom up fashion.

Future improvements can be made here. Currently, the rasterization is
performed on the main thread which could cause jank. We also transmit
recordings directly over IPDl, and no effort is made to minimize the
recordings from child layer trees.

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

--HG--
extra : rebase_source : b213de269b33486552ddc0be17207f9fb3f78c9c
2018-09-24 21:48:02 -05:00
Ryan Hunt fd979d2851 Bug 1475139 part 7 - Add DrawDependentSurface API to DrawTarget. r=mattwoodrow
This commit adds an API to DrawTarget to draw a surface that will be provided
at the time a recording is replayed. The surface is referenced using a user
interpreted ID.

This will be used for drawing a OOP iframe, and the ID will be the TabId.

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

--HG--
extra : rebase_source : d5ce9b429c89e9adb0e5fb180f60125e64f12d4a
2018-09-24 21:43:41 -05:00
Ryan Hunt 2af89b5ed4 Bug 1475139 part 5 - Only use external fonts with DrawEventRecorderMemory if we have a callback. r=jrmuizel
This was giving me some font assertion crashes, and changing this as a hunch fixed it.

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

--HG--
extra : rebase_source : 99bf039f33e314fb6f88ea283cf4cc575b054566
2018-09-24 21:33:14 -05:00
Jean-Yves Avenard 34eeec152b Bug 1495025 - P5. Add Windows P010 and P016 support for software decoder r=cpearce
As we do not have an IMF nor D3D11 NV12 image, we always require a full copy of the data that will deinterleave the chroma channels.

Depends on D7316

Differential Revision: https://phabricator.services.mozilla.com/D7318
2018-10-08 15:52:01 +02:00
Jean-Yves Avenard d14584ec03 Bug 1495025 - P4. Add COLOR_16 type r=nical
Depends on D7296

Differential Revision: https://phabricator.services.mozilla.com/D7316
2018-10-08 15:52:01 +02:00
Jean-Yves Avenard e0e52e125f Bug 1495025 - P3. Store original IMFMediaType's subtype in D3D11SharedHandleImage. r=cpearce
This allows more easily the creation of the MFT required to convert to a RGBA32 image when doing a readback.

Depends on D7295

Differential Revision: https://phabricator.services.mozilla.com/D7296
2018-10-08 15:52:00 +02:00
Jean-Yves Avenard c8d172b91e Bug 1495025 - P1. Search for alternative pixel format when stream change. r=cpearce
When decoding a vp9 profile 2 (10 bits), the MF_E_TRANSFORM_STREAM_CHANGE message is returned. We need to look for alternative format type other than NV12: 10/16 bits.

When using those formats, we can no longer assume that the D3D11ShareHandleImage can use NV12. So we will convert to RGBA32 on the fly via a MFT.

Differential Revision: https://phabricator.services.mozilla.com/D7294
2018-10-08 15:51:59 +02:00
Jeff Muizelaar 8f95a3627c Bug 1493616. blob-inval: Log the some more data about the broken situation. 2018-10-07 13:15:01 -04:00
Narcis Beleuzu 18849ef0ae Backed out 6 changesets (bug 1495025) for webgl2 failures on test_2_conformance2__textures__misc__npot-video-sizing.html
Backed out changeset 24d67618f6b9 (bug 1495025)
Backed out changeset 68efa7588ba8 (bug 1495025)
Backed out changeset 9f59a50dcc6d (bug 1495025)
Backed out changeset 7fd1f6103294 (bug 1495025)
Backed out changeset f1afe7e2a9e3 (bug 1495025)
Backed out changeset c62823871aca (bug 1495025)
2018-10-07 02:03:46 +03:00
shindli ea18bce030 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-07 00:15:20 +03:00
shindli 9dc23d90a5 Merge inbound to mozilla-central. a=merge 2018-10-07 00:11:08 +03:00
Jean-Yves Avenard 8acdf2fe0e Bug 1495025 - P5. Add Windows P010 and P016 support for software decoder r=cpearce
As we do not have an IMF nor D3D11 NV12 image, we always require a full copy of the data that will deinterleave the chroma channels.

Depends on D7316

Differential Revision: https://phabricator.services.mozilla.com/D7318
2018-10-06 21:31:22 +02:00
Jean-Yves Avenard 3903fac067 Bug 1495025 - P4. Add COLOR_16 type r=nical
Depends on D7296

Differential Revision: https://phabricator.services.mozilla.com/D7316
2018-10-06 21:31:22 +02:00
Jean-Yves Avenard 96df06d643 Bug 1495025 - P3. Store original IMFMediaType's subtype in D3D11SharedHandleImage. r=cpearce
This allows more easily the creation of the MFT required to convert to a RGBA32 image when doing a readback.

Depends on D7295

Differential Revision: https://phabricator.services.mozilla.com/D7296
2018-10-06 21:31:22 +02:00
Jean-Yves Avenard 93241b3850 Bug 1495025 - P1. Search for alternative pixel format when stream change. r=cpearce
When decoding a vp9 profile 2 (10 bits), the MF_E_TRANSFORM_STREAM_CHANGE message is returned. We need to look for alternative format type other than NV12: 10/16 bits.

When using those formats, we can no longer assume that the D3D11ShareHandleImage can use NV12. So we will convert to RGBA32 on the fly via a MFT.

Differential Revision: https://phabricator.services.mozilla.com/D7294
2018-10-06 21:31:21 +02:00
Jeff Muizelaar 20d9bc4191 Bug 1493616. Add some data gathering to try to figure out the crash. 2018-10-06 12:41:00 -04:00
Jeff Muizelaar 602e1c227d Bug 1496171. Remove bindings.rs.rej that slipped in 2018-10-06 12:38:14 -04:00
Emilio Cobos Álvarez 9aeb8183fd Bug 1444185 - More consistently round around fallback data. r=mstange
To avoid trimming pixels at the top / left.

This makes it closer to non-WR[1], and fixes both the checkboxes getting
cut off and the master password field.

[1]: non-WR at least at 124 scaling on a hiDPI display is still perfect, though I saw nin symmetric borders at other resolutions, so we might be able to improve here further.

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

--HG--
extra : moz-landing-system : lando
2018-10-06 10:34:36 +00:00
Jeff Muizelaar e8874566d6 Bug 1493616. Clear mInvalid more agressively so that we don't reuse it across paints r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D7948

--HG--
extra : moz-landing-system : lando
2018-10-06 02:42:22 +00:00
Ciure Andrei 19cad53fba Backed out changeset f936a4baa698 (bug 1493616) for build bustages WebRenderCommandBuilder.cpp CLOSED TREE 2018-10-06 05:17:41 +03:00
Jeff Muizelaar bd16ee6128 Bug 1493616. Clear mInvalid more agressively so that we don't reuse it across paints r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D7948

--HG--
extra : moz-landing-system : lando
2018-10-05 22:27:59 +00:00
Botond Ballo 99951b7247 Bug 1452820 - Use correct window property for testing end of scroll range. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D7950

--HG--
extra : moz-landing-system : lando
2018-10-05 23:58:04 +00:00
Botond Ballo 41afd1bff7 Bug 1496830 - Annotate CompositorHitTestFlags enumerators with the value they contribute to an EnumSet. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D7920

--HG--
extra : moz-landing-system : lando
2018-10-05 20:52:48 +00:00
Botond Ballo 51436c6841 Bug 1457586 - Implement AndroidVelocityTrakcer::HandleDynamicToolbarMovement() usefully. r=kats
MozReview-Commit-ID: JYqiViaucmY

Depends on D7659

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

--HG--
extra : moz-landing-system : lando
2018-10-05 16:51:14 +00:00
Botond Ballo ecf9f2c711 Bug 1457586 - Add an AndroidVelocityTracker class that implement Chrome's default velocity tracking strategy. r=kats
MozReview-Commit-ID: 6kteQv1KHDN

Depends on D7658

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

--HG--
extra : moz-landing-system : lando
2018-10-05 16:51:14 +00:00
Botond Ballo 925706826a Bug 1457586 - Allow PlatformSpecificState to choose the VelocityTracker implementation. r=kats
MozReview-Commit-ID: LyW9N2H7fv7

Depends on D7657

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

--HG--
extra : moz-landing-system : lando
2018-10-05 16:51:13 +00:00
Botond Ballo 824308813c Bug 1457586 - Initialize AsyncPanZoomController::mPlatformSpecificState before the axes. r=kats
This allows the Axis constructors to use the platform-specific state.

MozReview-Commit-ID: KWtDX4XVpjF

Depends on D7656

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

--HG--
extra : moz-landing-system : lando
2018-10-05 16:51:13 +00:00
Botond Ballo 2639754b2e Bug 1457586 - Introduce a VelocityTracker abstraction for handling velocity computation along an axis. r=kats
The current velocity computation code is factored out into an implementation
called SimpleVelocityTracker.

MozReview-Commit-ID: G0VnvREdIX3

Depends on D7655

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

--HG--
extra : moz-landing-system : lando
2018-10-05 16:51:12 +00:00
Botond Ballo 218ef5e0c1 Bug 1457586 - Refactor APZCTreeManager::ProcessTouchVelocity() and related functions to take the time and position deltas separately. r=kats
The motivation is to support velocity tracking implementations (added in a
later patch) that need the position delta rather than resulting velocity.

Also rename the functions to make it clearer that they have to do with
dynamic toolbar movement.

MozReview-Commit-ID: G0IVJHYTurB

Depends on D7654

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

--HG--
extra : moz-landing-system : lando
2018-10-05 16:51:12 +00:00
Botond Ballo f288db2097 Bug 1457586 - Simplify Axis::UpdateWithTouchAtDevicePoint() by removing the aAdditionalDelta parameter. r=mstange
MozReview-Commit-ID: CBBPhfRkl97

Depends on D7653

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

--HG--
extra : moz-landing-system : lando
2018-10-05 16:51:12 +00:00
Botond Ballo da60c1b550 Bug 1457586 - Fix unified build bustage from bug 1420996. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D7653

--HG--
extra : moz-landing-system : lando
2018-10-05 16:51:11 +00:00
Cosmin Sabou 807a37c670 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-05 13:07:56 +03:00
Cosmin Sabou 7626f35f16 Merge autoland to mozilla-central. a=merge 2018-10-05 12:57:02 +03:00
Cosmin Sabou 5a7a044de4 Backed out 2 changesets (bug 1495055) for frequently asserting on FrameLayerBuilder.cpp in crashtest on OSX. a=backout
Backed out changeset fd895bb95b99 (bug 1495055)
Backed out changeset ed9b268816b4 (bug 1495055)
2018-10-05 12:36:11 +03:00
sotaro 28923c3278 Bug 1496003 - Add sync ipc WebRenderBridgeChild::SendEnsureConnected() r=mattwoodrow,froydnj 2018-10-05 16:35:29 +09:00
Brian Birtles 077db0ce90 Bug 1495350 - Adjust fill mode to use on the compositor based on the playback rate; r=hiro
When a compositor animation finishes that doesn't apply a fill, rather than
jumping back to the underlying value immediately we should apply a fill mode
until the main thread has a chance to remove the animation from the compositor.
This ensures that any main thread effects that are intended to synchronize with
the end of the animation have a chance to run before we show the underlying
style and helps to avoid flicker in such cases.

Currently we apply this synthesized fill mode to animations when they run
forwards (i.e. positive playback rate), but not backwards. This patch makes us
apply the same handling when running in reverse.

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

--HG--
extra : moz-landing-system : lando
2018-10-05 05:43:49 +00:00
sotaro c4eb825654 Bug 1459233 - Make SyncObjectD3D11Host::Synchronize() fallible with WebRender r=mattwoodrow 2018-10-05 14:49:04 +09:00
Csoregi Natalia 40ca28382a Merge mozilla-central to mozilla-inbound. CLOSED TREE 2018-10-05 07:46:09 +03:00
Jeff Muizelaar 916d21d265 Bug 1496171. Update blob renderer for newly exposed priority 2018-10-04 23:18:20 -04:00
Jeff Muizelaar c5271df1cc Bug 1496283 - Update bindings.rs for new shader preaching flags introduced by WebRender pull 3159. r=jrmuizel 2018-10-04 23:17:33 -04:00
Jeff Muizelaar 1ddc54bd0f Bug 1496171. Update webrender to commit 3c3f9a4e919b81639f078d7bd101012de61b9396 2018-10-04 23:16:32 -04:00
Csoregi Natalia 991b088ebf Merge mozilla-central to autoland. CLOSED TREE 2018-10-05 01:31:25 +03:00
Markus Stange e32dae1f0d Bug 1495463 - Shut down the ProfilerScreenshots thread from the main thread. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D7367

--HG--
extra : moz-landing-system : lando
2018-10-04 20:54:23 +00:00
Alexis Beingessner 580e97b112 Bug 1495776 - Cleanup and document the rust portion of the blob image code r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D7483

--HG--
extra : moz-landing-system : lando
2018-10-04 02:45:21 +00:00
Matt Woodrow c6ebea64bf Bug 1496430 - Check GL context for RenderCompositorANGLE. r=sotaro
MozReview-Commit-ID: 7ncgoJOpZs9

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

--HG--
extra : moz-landing-system : lando
2018-10-05 02:01:20 +00:00
Kartikaya Gupta a91d1a5df9 Back out bug 1415272 for introducing bug 1496416. r=me
The WR change was backed out upstream in WR PR 3165, but I'm landing it
here out-of-band so we don't have to wait for a regular WR update.
2018-10-04 12:13:13 -04:00
Thomas P. bf5942616e Bug 1494222: add combined mAB/mBA profile to qcms_fuzzer samples. r=agaynor
--HG--
extra : histedit_source : 5e64af56ed5284b2b1e70ea94f250356b68ad193
2018-09-28 02:59:39 +00:00
Thomas P. 150e193f2f Bug 1494222: fix qcms_fuzzer coverage by enabling all path combinations. r=agaynor
--HG--
extra : histedit_source : f9144b08a11cef50c336cad1dbe8599f1c612b7b
2018-09-27 21:59:12 +00:00
Narcis Beleuzu bcd56bfa14 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-04 12:29:16 +03:00
Jonathan Kew 835870b152 Bug 1493743 - speculative patch - Set type to None rather than Named in default FontFamilyName constructor, as no name is provided. r=lsalzman 2018-10-04 10:57:40 +02:00