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

12091 Коммитов

Автор SHA1 Сообщение Дата
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 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 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
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 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
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
Narcis Beleuzu bcd56bfa14 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-04 12:29:16 +03:00
sotaro 3a927a66da Bug 1496324 - Revoke TransactionId when transaction is not forwarded r=mattwoodrow 2018-10-04 17:31:06 +09:00
Jeff Muizelaar 8fe557b34e Bug 1496188. blob-img: remove animated geometry root code that makes no sense r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D7642

--HG--
extra : moz-landing-system : lando
2018-10-04 01:11:32 +00:00
Botond Ballo 75ac8237f5 Bug 1495055 - Adjust the composited layout viewport in AdjustScrollForSurfaceShift(). r=kats
Depends on D7368

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

--HG--
extra : moz-landing-system : lando
2018-10-03 15:35:12 +00:00
Botond Ballo e6709100cc Bug 1495055 - Accept layout viewport updates from the main thread right away. r=kats
Previously we would wait at least one transaction from the time the
composition bounds (visual viewport) was updated, but this causes problems
due to the visual and layout viewport being out of sync after a screen
resize, such as one due to dynamic toolbar transitions in Fennec.

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

--HG--
extra : moz-landing-system : lando
2018-10-03 15:36:02 +00:00
Ciure Andrei 4515e2b048 Merge autoland to mozilla-central. a=merge 2018-10-03 14:19:01 +03:00
Ciure Andrei e22f3d2a81 Backed out 1 changesets (bug 1459233) for continuation-opacity.html failures on Win 10 qr a=backout
Backed out changeset 4505ab264626 (bug 1459233)
2018-10-03 14:16:38 +03:00
Daniel Varga 85e94da039 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-03 08:04:21 +03:00
Kearwood Gilbert 7a3eb1a6a2 Bug 1494556 - Remove VRListenerThread r=daoshengmu
We are refactoring much of the code in gfx/vr, moving
most of the code that runs in the VRListenerThread into
it's own process.  The remaining code will be non-blocking
once this refactoring is complete.

In order to resolve some shutdown crashes, it is simpler
to remove the VRListenerThread and the related code
starting and stopping this thread.  If this is done
prior to completion of the refactoring for Bug 1473399
(Enable VRService thread by default), there would be a
regression in responsiveness during detection of VR
hardware due to blocking API calls moving off the thread.

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

--HG--
extra : moz-landing-system : lando
2018-10-02 21:17:05 +00:00
sotaro d8ff0e4ced Bug 1459233 - Make SyncObjectD3D11Host::Synchronize() fallible with WebRender r=mattwoodrow 2018-10-03 09:44:05 +09:00
Tiberius Oros d7d50b70ea Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-03 09:30:47 +03:00
Markus Stange 9ffcb31c68 Bug 1495886 - Fix a typo in a profiler marker: Traget -> Target. r=kats,jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D7540

--HG--
extra : moz-landing-system : lando
2018-10-02 21:19:17 +00:00
Jeff Muizelaar 4a027bb61a Bug 1493616. blob-inval: Log whether we have a 3d transform
--HG--
extra : rebase_source : 9639b71fd21b4bc9f0fec3100634888d0b29ccc9
2018-10-01 11:34:54 -04:00
sotaro f28d78646a Bug 1491798- Schedule repaint if WebRender is updated by tab move r=mattwoodrow 2018-10-01 10:12:22 +09:00
Jeff Muizelaar dfcb291ba9 Bug 1493616. Fix up logging to only trigger appropriately. 2018-09-29 20:53:07 -04:00
Jeff Muizelaar 1e25d9fc35 Bug 1493616. Add some logging to help debug this crash.
--HG--
extra : rebase_source : 5b847544605d7b59b31ddca70be6176df0e8edb2
2018-09-29 19:05:18 -04:00
Jeff Muizelaar d7cb9ac2ef Bug 1494836. Replace NormalizedRect for visible area. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D7189
2018-09-26 10:32:41 -04:00
Kartikaya Gupta 98540ffb1e No bug - Guard against null mRootNode in conditionally-compiled debugging code. r=me and DONTBUILD
Not sure when this started happening but mRootNode can be null sometimes
during startup so guard against that when turning on APZCTM logging
instead of crashing.
2018-09-28 16:37:21 -04:00
Kartikaya Gupta 7c9f81bf77 Bug 1420996 - Follow-up to fix debug logging code. r=me and DONTBUILD because NPOTB 2018-09-27 16:31:44 -04:00