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

30726 Коммитов

Автор SHA1 Сообщение Дата
Daosheng Mu 8e0cd59f7c Bug 1485388 - Checking VRGPUChild is created before asking stop VRService. r=kip
MozReview-Commit-ID: 8NM2bcmqVAa

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

--HG--
extra : moz-landing-system : lando
2018-08-27 20:51:16 +00:00
Cosmin Sabou 5d011e88d1 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-27 18:51:27 +03:00
Nathan Froyd 57b9c2ac11 Bug 1486056 - don't compile SkJumper_generated_win.S on aarch64 windows; r=lsalzman
Compiling a blob of x86 machine code is not going to end well.
2018-08-27 09:12:15 -04:00
Nicolas Silva e3795cb5ee Bug 1486030 - Don't keep a null texture in the video bridge texture map. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D4319

--HG--
extra : moz-landing-system : lando
2018-08-27 10:00:33 +00:00
Emilio Cobos Álvarez 213272e55b Bug 1486124 - Make env_var_to_bool match IsEnvSet. r=jrmuizel,kvark
Per the comments in https://phabricator.services.mozilla.com/D4239

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

--HG--
extra : moz-landing-system : lando
2018-08-25 01:57:45 +00:00
Emilio Cobos Álvarez a86422ddfc Bug 1419939 - Add an env var to precache shaders. r=kvark
I made the variable name up, since I didn't see another similar thing.
Let me know if I should change it.

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

--HG--
extra : moz-landing-system : lando
2018-08-24 16:54:18 +00:00
Jeff Muizelaar 11d6185f33 Bug 1485791. Update webrender to commit 816ff14c1805c145ccd60d0227d82b1541fc24eb 2018-08-26 21:29:25 -04:00
Imanol Fernandez 2072f84821 Bug 1482613 - Make WebVR work with multiprocess enabled on Android r=kip,rbarker,kvark
MozReview-Commit-ID: G9aHbp0G7DK

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

--HG--
extra : moz-landing-system : lando
2018-08-24 15:32:12 +00:00
Emilio Cobos Álvarez 1123bc0666 Bug 1485937 - Avoid a useless allocation in wr_dp_define_clipchain. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D4196

--HG--
extra : moz-landing-system : lando
2018-08-24 12:03:23 +00:00
Tiberius Oros 2ee9341d01 Merge inbound to mozilla-central. a=merge 2018-08-24 12:43:45 +03:00
Kris Maglione d040edd44f Bug 1484496: Follow-up: Fix NoQueryNeeded assertion on Windows debug. r=bustage CLOSED TREE 2018-08-23 16:05:29 -07:00
Cosmin Sabou 469b620e12 Merge mozilla-central to autoland. a=merge
--HG--
rename : testing/web-platform/tests/css/compositing/support/parsing-testcommon.js => testing/web-platform/tests/css/compositing/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-backgrounds/support/parsing-testcommon.js => testing/web-platform/tests/css/css-backgrounds/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-box/support/parsing-testcommon.js => testing/web-platform/tests/css/css-box/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-cascade/support/parsing-testcommon.js => testing/web-platform/tests/css/css-cascade/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-color/support/parsing-testcommon.js => testing/web-platform/tests/css/css-color/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-images/support/parsing-testcommon.js => testing/web-platform/tests/css/css-images/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-masking/support/parsing-testcommon.js => testing/web-platform/tests/css/css-masking/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-shapes/support/parsing-testcommon.js => testing/web-platform/tests/css/css-shapes/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-transforms/support/parsing-testcommon.js => testing/web-platform/tests/css/css-transforms/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-ui/support/parsing-testcommon.js => testing/web-platform/tests/css/css-ui/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/css-writing-modes/support/parsing-testcommon.js => testing/web-platform/tests/css/css-writing-modes/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/filter-effects/support/parsing-testcommon.js => testing/web-platform/tests/css/filter-effects/parsing/support/parsing-testcommon.js
rename : testing/web-platform/tests/css/motion/support/parsing-testcommon.js => testing/web-platform/tests/css/motion/parsing/support/parsing-testcommon.js
rename : third_party/rust/crossbeam-deque/.cargo-checksum.json => third_party/rust/crossbeam-deque-0.2.0/.cargo-checksum.json
rename : third_party/rust/crossbeam-deque/.travis.yml => third_party/rust/crossbeam-deque-0.2.0/.travis.yml
rename : third_party/rust/crossbeam-deque/CHANGELOG.md => third_party/rust/crossbeam-deque-0.2.0/CHANGELOG.md
rename : third_party/rust/crossbeam-deque/Cargo.toml => third_party/rust/crossbeam-deque-0.2.0/Cargo.toml
rename : third_party/rust/bitflags-0.7.0/LICENSE-APACHE => third_party/rust/crossbeam-deque-0.2.0/LICENSE-APACHE
rename : third_party/rust/crossbeam-deque/README.md => third_party/rust/crossbeam-deque-0.2.0/README.md
rename : third_party/rust/crossbeam-deque/src/lib.rs => third_party/rust/crossbeam-deque-0.2.0/src/lib.rs
rename : third_party/rust/crossbeam-epoch/.cargo-checksum.json => third_party/rust/crossbeam-epoch-0.3.1/.cargo-checksum.json
rename : third_party/rust/crossbeam-epoch/.travis.yml => third_party/rust/crossbeam-epoch-0.3.1/.travis.yml
rename : third_party/rust/crossbeam-epoch/CHANGELOG.md => third_party/rust/crossbeam-epoch-0.3.1/CHANGELOG.md
rename : third_party/rust/crossbeam-epoch/Cargo.toml => third_party/rust/crossbeam-epoch-0.3.1/Cargo.toml
rename : third_party/rust/tokio-io/LICENSE-APACHE => third_party/rust/crossbeam-epoch-0.3.1/LICENSE-APACHE
rename : third_party/rust/crossbeam-epoch/README.md => third_party/rust/crossbeam-epoch-0.3.1/README.md
rename : third_party/rust/crossbeam-epoch/examples/sanitize.rs => third_party/rust/crossbeam-epoch-0.3.1/examples/sanitize.rs
rename : third_party/rust/crossbeam-epoch/src/atomic.rs => third_party/rust/crossbeam-epoch-0.3.1/src/atomic.rs
rename : third_party/rust/crossbeam-epoch/src/collector.rs => third_party/rust/crossbeam-epoch-0.3.1/src/collector.rs
rename : third_party/rust/crossbeam-epoch/src/default.rs => third_party/rust/crossbeam-epoch-0.3.1/src/default.rs
rename : third_party/rust/crossbeam-epoch/src/deferred.rs => third_party/rust/crossbeam-epoch-0.3.1/src/deferred.rs
rename : third_party/rust/crossbeam-epoch/src/epoch.rs => third_party/rust/crossbeam-epoch-0.3.1/src/epoch.rs
rename : third_party/rust/crossbeam-epoch/src/garbage.rs => third_party/rust/crossbeam-epoch-0.3.1/src/garbage.rs
rename : third_party/rust/crossbeam-epoch/src/guard.rs => third_party/rust/crossbeam-epoch-0.3.1/src/guard.rs
rename : third_party/rust/crossbeam-epoch/src/internal.rs => third_party/rust/crossbeam-epoch-0.3.1/src/internal.rs
rename : third_party/rust/crossbeam-epoch/src/lib.rs => third_party/rust/crossbeam-epoch-0.3.1/src/lib.rs
rename : third_party/rust/crossbeam-epoch/src/sync/list.rs => third_party/rust/crossbeam-epoch-0.3.1/src/sync/list.rs
rename : third_party/rust/crossbeam-epoch/src/sync/queue.rs => third_party/rust/crossbeam-epoch-0.3.1/src/sync/queue.rs
rename : third_party/rust/crossbeam-utils/.cargo-checksum.json => third_party/rust/crossbeam-utils-0.2.2/.cargo-checksum.json
rename : third_party/rust/crossbeam-utils/CHANGELOG.md => third_party/rust/crossbeam-utils-0.2.2/CHANGELOG.md
rename : third_party/rust/crossbeam-utils/Cargo.toml => third_party/rust/crossbeam-utils-0.2.2/Cargo.toml
rename : third_party/rust/bitflags-0.7.0/LICENSE-APACHE => third_party/rust/crossbeam-utils-0.2.2/LICENSE-APACHE
rename : third_party/rust/crossbeam-utils/src/atomic_option.rs => third_party/rust/crossbeam-utils-0.2.2/src/atomic_option.rs
rename : third_party/rust/crossbeam-utils/src/lib.rs => third_party/rust/crossbeam-utils-0.2.2/src/lib.rs
rename : third_party/rust/crossbeam-utils/src/scoped.rs => third_party/rust/crossbeam-utils-0.2.2/src/scoped.rs
rename : third_party/rust/bitflags-0.7.0/LICENSE-APACHE => third_party/rust/indexmap/LICENSE-APACHE
rename : third_party/rust/lazycell/.cargo-checksum.json => third_party/rust/lazycell-0.4.0/.cargo-checksum.json
rename : third_party/rust/lazycell/CHANGELOG.md => third_party/rust/lazycell-0.4.0/CHANGELOG.md
rename : third_party/rust/lazycell/Cargo.toml => third_party/rust/lazycell-0.4.0/Cargo.toml
rename : third_party/rust/bitflags-0.7.0/LICENSE-APACHE => third_party/rust/lazycell-0.4.0/LICENSE-APACHE
rename : third_party/rust/lazycell/LICENSE-MIT => third_party/rust/lazycell-0.4.0/LICENSE-MIT
rename : third_party/rust/lazycell/README.md => third_party/rust/lazycell-0.4.0/README.md
rename : third_party/rust/lazycell/src/lib.rs => third_party/rust/lazycell-0.4.0/src/lib.rs
rename : third_party/rust/bitflags-0.7.0/LICENSE-APACHE => third_party/rust/rand-0.3.22/LICENSE-APACHE
rename : third_party/rust/bitflags-0.7.0/LICENSE-MIT => third_party/rust/rand-0.3.22/LICENSE-MIT
rename : third_party/rust/rand/appveyor.yml => third_party/rust/rand-0.3.22/appveyor.yml
rename : third_party/rust/slab/.cargo-checksum.json => third_party/rust/slab-0.3.0/.cargo-checksum.json
rename : third_party/rust/slab/Cargo.toml => third_party/rust/slab-0.3.0/Cargo.toml
rename : third_party/rust/slab/README.md => third_party/rust/slab-0.3.0/README.md
rename : third_party/rust/slab/src/lib.rs => third_party/rust/slab-0.3.0/src/lib.rs
rename : third_party/rust/tokio-io/src/read_to_end.rs => third_party/rust/tokio-io/src/io/read_to_end.rs
rename : third_party/rust/tokio-io/src/read_until.rs => third_party/rust/tokio-io/src/io/read_until.rs
extra : rebase_source : 4c022c31e626832d12535d88e7caea452419ac2f
2018-08-24 00:44:17 +03:00
Cosmin Sabou 3211507dfb Merge mozilla-inbound to mozilla-central. a=merge 2018-08-24 00:40:14 +03:00
Jeff Muizelaar 3fc60f7e6c Bug 1473943. Make blob bounds checks safe. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D4038

--HG--
extra : moz-landing-system : lando
2018-08-23 19:53:21 +00:00
Nicolas Silva e260c539f2 Bug 1485441 - Add diagnostics to GL compositor shader failures and avoid crashing release builds. r=jnicol
Differential Revision: https://phabricator.services.mozilla.com/D4079

--HG--
extra : moz-landing-system : lando
2018-08-23 14:46:50 +00:00
Landry Breuil 984eaf80dd Bug 1457092 - Content sandbox codepaths are Linux only. r=gcp
--HG--
extra : rebase_source : e8c79bc0dfb1b8f03d2ceec98835f9f6ac7a4612
2018-08-22 05:27:00 -04:00
Cosmin Sabou b69e48dda2 Merge mozilla-central to mozilla-inbound. a=merge 2018-08-24 00:46:31 +03:00
Patrick Walton b8b76ab4fe Bug 1485538 - Expose WebRender's "show overdraw" debug mode behind a pref. r=jrmuizel 2018-08-10 20:17:01 -07:00
Jeff Muizelaar e7aec45f12 Bug 1485691. Re-generate FFI header 2018-08-23 15:48:07 -04:00
Jeff Muizelaar 2475f58106 Bug 1485691. Update webrender to commit 93997662842b6d8bafbdb3dde79009c930db66ca 2018-08-23 15:47:39 -04:00
Lee Salzman 5285c599ca Bug 1485712 - set SkTypeface atomically in ScaledFonts. r=rhunt 2018-08-23 14:58:21 -04:00
Ryan Hunt a5cee657d8 Bug 1414389 - Remove use of RwAssert in CaptureCommandList. r=lsalzman
--HG--
extra : rebase_source : a657f30cd10bed422883c554f799ea4fc884f508
2018-08-21 17:54:20 -05:00
Cosmin Sabou 164891642a Backed out changeset 1eb34707779f (bug 1482613) for causing android crashes in test_vrDisplay_canvas2d.
--HG--
extra : amend_source : f97559dc9494fbe0120035381d8903cfc62d2830
2018-08-24 00:10:57 +03:00
Nicolas Silva 4bc8a88453 Bug 1485593 - Avoid using isdigit. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D4066

--HG--
extra : moz-landing-system : lando
2018-08-23 11:50:55 +00:00
Brindusan Cristian d204b281a1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-08-23 06:45:33 +03:00
Jeff Muizelaar 92e5b037a8 Bug 1477448. Ensure ToDeviceSpace() preserves EmptyRects. r=mstange
MozReview-Commit-ID: 40qjwj3dpmp
2018-08-22 22:21:30 -04:00
Brindusan Cristian d2592042f8 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-23 01:02:39 +03:00
Brindusan Cristian d21b936680 Merge inbound to mozilla-central. a=merge 2018-08-23 01:00:10 +03:00
Jamie Nicol c0b13f02f6 Bug 1484101 - Ensure DrawTargetTiled::PadEdges is called with region in device space. r=rhunt
In MultiTiledContentClient we can create a DrawTargetTiled with a
different origin than the layer we are painting. We must therefore
ensure when edge-padding that we provide the valid region in the draw
target's device-space rather than layer-space. Not doing so was
causing us to pad out in incorrect directions, causing visible seams.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 16:29:52 +00:00
Noemi Erli e0e342c6ae Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 19:31:52 +03:00
Nicolas Silva 9bd631e865 Bug 1484624 - Don't create texture sources if the compositor doesn't have a GL context. r=sotaro 2018-08-22 13:59:15 +02:00
Nicolas Silva 808163871b Bug 1483459 - Avoid copying regions before converting them to rects throughout the gfx directory. r=sotaro
This patch was generated using a simple sed script:
sed -i 's/ToUnknownRegion().GetBounds()/GetBounds().ToUnknownRect()/g' gfx/**/*.cpp gfx/**/*.h

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

--HG--
extra : rebase_source : 4e9e7c9f2fb4ca60122712dd06632147cdec7195
2018-08-21 14:58:47 +02:00
Nicolas Silva 55a85b0bc0 Bug 1483459 - Don't needlessly copy regions in ContainerLayer::GetIntermediateSurfaceRect. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D3876

--HG--
extra : rebase_source : 3f615973f71fbaeed595663308e8ee34b77afd8b
2018-08-21 14:41:42 +02:00
Ryan VanderMeulen 63a5b2453c Bug 1483310 - Update HarfBuzz to version 1.8.8. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D3973

--HG--
extra : moz-landing-system : lando
2018-08-22 13:57:00 +00:00
Lee Salzman b457cc25bd Bug 1483120 - sum SkDashPath intervals instead of subtracting. r=rhunt 2018-08-22 15:19:33 -04:00
Andreea Pavel 883da574e8 Merge mozilla-inbound to mozilla-central. a=merge 2018-08-22 06:35:14 +03:00
Daosheng Mu 90d9af9138 Bug 1485095 - Fix can't get VRSystemManagerExternal in Android. r=kip
MozReview-Commit-ID: F82UoWhVVWs

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

--HG--
extra : moz-landing-system : lando
2018-08-21 22:01:00 +00:00
Tiberius Oros 05b46cf200 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-22 00:59:19 +03:00
Dorel Luca b704584332 Merge mozilla-central to autoland 2018-08-21 19:03:25 +03:00
Ryan VanderMeulen 9966e32859 Bug 1483566 - Update Graphite2 to version 1.3.12. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D3426

--HG--
extra : moz-landing-system : lando
2018-08-21 13:58:42 +00:00
Andrew Osmond 7b5c6eb801 Bug 1452513 - Avoid issuing transactions with WebRender when the namespace has changed. r=kats
When the namespace changes (e.g. due to a tab move between windows), we
may get stale transaction requests that we need to ignore. In
WebRenderBridgeParent::RecvSetDisplayList, we would automatically send
any unsent transaction data when exiting the method, but this did not
take into account the staleness. This patch ensures we only flush the
data if we actually want it.

The transaction in question that was observed and causing crashes was
UpdateImageBuffer.
2018-08-21 08:29:09 -04:00
Brian Hackett 050b328fd7 Bug 1483256 - Use mozilla::Atomic in MemoryTextureReadLock, r=nical.
--HG--
extra : rebase_source : f555c3b8493390a34fc722bf1ebde115b0cdaf56
2018-08-21 01:00:40 +00:00
Jeff Muizelaar b0d05aed0d Bug 1483303. Update bindings for color masking of images.
This makes us build after pr #2969
2018-08-20 22:32:54 -04:00
Jeff Muizelaar 3f1b0144a3 Bug 1483303. Update webrender to commit e70bae07664def86aefd11c86dac818ab7ea64ea 2018-08-20 22:32:50 -04:00
Kearwood Gilbert 8fc883c938 Bug 1481327 - Part 2: Handle VR process shared memory.,r=kip
--HG--
extra : rebase_source : 9cd9aee74783c0817d8825aff7e7b3cef881fdab
2018-08-20 14:59:56 -07:00
Kearwood Gilbert a642b0a38b Bug 1481327 - Part 1: Launch VR service in VR process., r=kip,r=mccr8
--HG--
extra : rebase_source : 1de178356f2c4550f01635763e80fbd05b7b0c05
2018-08-20 14:58:28 -07:00
Jean-Yves Avenard efd5ec6e7a Bug 1245400 - P5. Report frames dropped with WebRender. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D2182
2018-08-22 17:26:37 +02:00
Jean-Yves Avenard ea40a439ac Bug 1245400 - P4. Remove no longer used class member. r=nical
Also speed up compositing videos as there's no longer need to check every single frames twice to determine if they were composited or not.

Differential Revision: https://phabricator.services.mozilla.com/D2178
2018-08-22 17:26:37 +02:00
Jean-Yves Avenard 70040ff272 Bug 1245400 - P3. Report number of frames dropped by compositor back to VideoSink. r=nical
We report the number of frames dropped by the compositor because they were too late through:
ImageComposite -> ImageHost -> CompositableTransactionParent -> ImageBridgeParent -> IPDL -> ImageBridgeChild -> ImageContainerListener -> ImageContainer -> VideoSink

Differential Revision: https://phabricator.services.mozilla.com/D2177
2018-08-22 17:26:36 +02:00
Jean-Yves Avenard a0a2549c82 Bug 1245400 - P2. Keep track of frames that should have been painted but didn't. r=nical, r=mattwoodrow
We can't rely on the FrameID continuity to determine if a frame has been dropped due to timing or not.
The reason being that the VideoSink will not send to the compositor frames it knows as being late already (causing a discontinuity in the frames IDs), and count them as being dropped.
If we were to look at discontinuity on the compositor we would account for those frames twice.

FramesID will also increase non-linearly if a frame isn't painted because it's not visible (either out of the visible tree or in a hidden tab).

What we can measure however, is when a frame should have been painted but didn't because it was too late by looking at the value returned by ImageComposite::ChooseImageIndex() or when a new set of images is being received by the ImageComposite.
Any images found in the earlier array but never returned must have been dropped due to timing.

Looking at the index continuity greatly simplify the logic as we no longer need to worry if a video is hidden or not, or be part of a layer that is itself hidden as neither SetImages will be called then, nor ChooseImage

For now, we only account for those frames dropped, and do not report them yet.

Differential Revision: https://phabricator.services.mozilla.com/D2176
2018-08-22 17:26:36 +02:00