gecko-dev/tools
Dzmitry Malyshau 9ac41ecccf Bug 1575008 - WebGPU implementation basis r=webidl,baku
This change vendors `wgpu` library in-tree and hooks up the initialization bits. It implements adapter and device initialization and adds a simple test.

Current status:
  - [x] Architecture
    - [x] figure out the IPC story
    - [ ] move wgpu crates into a dedicated folder (let's follow up with this)
  - [x] Review
    - [x] WebIDL changes by DOM peers
  - [x] Linux
    - [x] avoid depending on spirv_cross - https://github.com/gfx-rs/wgpu/pull/371
  - [x] macOS
    - [x] due to cross-compiling shaders - https://github.com/gfx-rs/gfx/pull/3047
    - [x] need the dependency update
    - [x] stop using gcc - https://github.com/SSheldon/rust-objc-exception/pull/5
    - [x] unexpected SSL header collision - https://phabricator.services.mozilla.com/D51148
    - [x] undefined Metal symbols
    - [x] missing webrtc headers for IPDL magic - https://phabricator.services.mozilla.com/D51558
  - [x] Windows
    - [x] due to "ipc-channel" not supporting Windows yet - https://github.com/servo/ipc-channel/pull/233~~
    - [x] due to some exceptional stuff - https://github.com/grovesNL/spirv_cross/issues/121
    - [x] undefined symbol: `D3D12CreateDevice`
    - [x] d3d12.dll is not found, dxgi1_4 doesn't present
    - [x] d3d11.dll and dxgi.dll need to be explicitly loaded on win32 mingw - https://github.com/gfx-rs/gfx/pull/3076
    - [x] libbacktrace fails to link on win32 mingw
    - [x] cc mislinking C++ standard library - https://github.com/alexcrichton/cc-rs/pull/455
  - [x] Android
    - [x] spirv-cross fails to build - https://github.com/KhronosGroup/SPIRV-Cross/pull/1193

Update-1:
We decided to go with IPDL mechanism instead of Rust based ipc-channel (or any alternatives), which unblocks Windows build.

Update-2:
It appears that WebGPUThreading isn't needed any more as the child thread (and its event loop) is now managed by IPDL infrastructure. This PR removes it 🎉 .

Update-3:
InstanceProvider is also removed.

Update-4:
All set, the try is green, waiting for dependent changes to go in.

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

--HG--
rename : dom/webgpu/Adapter.cpp => dom/webgpu/ipc/WebGPUTypes.h
rename : third_party/rust/arrayvec/.cargo-checksum.json => third_party/rust/arrayvec-0.4.11/.cargo-checksum.json
rename : third_party/rust/arrayvec/Cargo.toml => third_party/rust/arrayvec-0.4.11/Cargo.toml
rename : third_party/rust/arrayvec/README.rst => third_party/rust/arrayvec-0.4.11/README.rst
rename : third_party/rust/arrayvec/benches/extend.rs => third_party/rust/arrayvec-0.4.11/benches/extend.rs
rename : third_party/rust/arrayvec/build.rs => third_party/rust/arrayvec-0.4.11/build.rs
rename : third_party/rust/arrayvec/src/array.rs => third_party/rust/arrayvec-0.4.11/src/array.rs
rename : third_party/rust/arrayvec/src/array_string.rs => third_party/rust/arrayvec-0.4.11/src/array_string.rs
rename : third_party/rust/arrayvec/src/char.rs => third_party/rust/arrayvec-0.4.11/src/char.rs
rename : third_party/rust/arrayvec/src/lib.rs => third_party/rust/arrayvec-0.4.11/src/lib.rs
rename : third_party/rust/arrayvec/src/maybe_uninit.rs => third_party/rust/arrayvec-0.4.11/src/maybe_uninit.rs
rename : third_party/rust/arrayvec/src/maybe_uninit_nodrop.rs => third_party/rust/arrayvec-0.4.11/src/maybe_uninit_nodrop.rs
rename : third_party/rust/arrayvec/src/maybe_uninit_stable.rs => third_party/rust/arrayvec-0.4.11/src/maybe_uninit_stable.rs
rename : third_party/rust/arrayvec/src/range.rs => third_party/rust/arrayvec-0.4.11/src/range.rs
rename : third_party/rust/arrayvec/tests/serde.rs => third_party/rust/arrayvec-0.4.11/tests/serde.rs
rename : third_party/rust/arrayvec/tests/tests.rs => third_party/rust/arrayvec-0.4.11/tests/tests.rs
rename : third_party/rust/core-graphics/Cargo.toml => third_party/rust/atom/Cargo.toml
rename : third_party/rust/core-graphics/Cargo.toml => third_party/rust/cocoa/Cargo.toml
rename : third_party/rust/core-graphics/src/lib.rs => third_party/rust/cocoa/src/lib.rs
rename : third_party/rust/core-graphics/Cargo.toml => third_party/rust/colorful/Cargo.toml
rename : third_party/rust/core-graphics/Cargo.toml => third_party/rust/range-alloc/Cargo.toml
rename : third_party/rust/core-graphics/Cargo.toml => third_party/rust/shared_library/Cargo.toml
rename : third_party/rust/core-graphics/Cargo.toml => third_party/rust/x11/Cargo.toml
extra : moz-landing-system : lando
2019-11-05 19:51:15 +00:00
..
bloatview
browsertime Bug 1559727 - Set executable bit after extraction, and correct ImageMagick path. r=perftest-reviewers,stephendonner 2019-11-01 18:09:26 +00:00
clang-tidy Bug 1558359 - clang-tidy - For performance-move-const-arg disable detection of trivially copyable types that do not have a move constructor. r=sylvestre 2019-10-16 12:59:33 +00:00
code-coverage Bug 1578730 - Add js::GetCodeCovergeSummaryAll API. r=nbp,marco 2019-09-19 00:08:39 +00:00
compare-locales Backed out changeset 35d4451f348d (bug 1588458) as requested by the dev 2019-10-15 19:04:22 +03:00
coverity Bug 1590415 - Remove deprecated code from the Coverity model file. r=sylvestre 2019-10-22 16:38:50 +00:00
crashreporter Bug 1582574 - Make minidump_stackwalk toolchain binary compatible with both older and newer Debian/Ubuntu. r=froydnj 2019-09-25 22:03:16 +00:00
docs Bug 1593420 - Fix a sphinx warning: sphinx.build_main has moved r=ahal 2019-11-05 07:31:08 +00:00
fuzzing Bug 1584446 - Add an rkv fuzzing test for bug mdb_cursor_put, r=truber 2019-10-02 15:17:13 +00:00
infer Bug 1576659 - Update infer to 0.17.0. r=bastien 2019-09-13 14:25:32 +00:00
jprof Bug 1559975 - fix python2 linter error for tools/jprof/split-profile.py r=ahal 2019-07-16 17:47:33 +00:00
leak-gauge
lint Bug 1589182 - remove mobile/android/extensions/ and /mobile/android/chrome/content (Fennec leftovers); r=snorp,agi 2019-11-04 20:32:10 +00:00
performance Bug 1553254 - Part 1: Allow low-overhead selective collection of internal performance probes through ChromeUtils. r=brennie,nika 2019-05-21 21:01:31 +02:00
power Bug 1559975 - Make directories python3 compatible r=catlee 2019-07-02 15:47:34 +00:00
profiler Bug 1592818 - Add unit tests for IPCMarkerPayload; r=gerald 2019-11-05 03:56:38 +00:00
quitter Bug 1562642 - Part 4 - Add missing MPL2 headers in tools r=ahal 2019-07-10 19:12:07 +00:00
rb Bug 1559977 - Remove tools/rb from py3/py2 linter exclusion list r=ahal 2019-10-15 20:58:35 +00:00
rewriting Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal 2019-10-04 20:55:11 +00:00
tryselect Bug 1592766 - Fix some errors in the |mach try fuzzy| docs, DONTBUILD, r=egao 2019-10-31 00:31:47 +00:00
update-packaging Bug 1578497 - Overwrite notarization ticket on each partial update instead of patching, so pkgs can be updated, r=bhearsum 2019-10-01 02:42:10 +00:00
update-verify Bug 1588649 - release update verify secondary failing for 70.0, r=jlund 2019-10-15 22:36:25 +00:00
vcs Bug 1575008 - WebGPU implementation basis r=webidl,baku 2019-11-05 19:51:15 +00:00
mach_commands.py Bug 1574977: restore mach pastebin and port to new service r=nalexander 2019-08-22 18:11:26 +00:00
moz.build Bug 1569704 - Update tools/tryselect bug component metadata, r=glob 2019-07-30 06:31:49 +00:00