Commit Graph

489 Commits

Author SHA1 Message Date
Jim Blandy
6ca282be89 Bug 1769633: Update wgpu to b51fd851. r=jgilbert
Fix Firefox for compute_pass_dispatch functions renamed upstream.

Remove set_index_buffer ffi functions; they're now in wgpu.

Differential Revision: https://phabricator.services.mozilla.com/D146509
2022-05-17 03:09:07 +00:00
Molnar Sandor
f4c40b82c0 Backed out 2 changesets (bug 1769633) for causing build bustages in jimb/rust/wgpu/wgpu-core. CLOSED TREE
Backed out changeset d7b9bac2ace5 (bug 1769633)
Backed out changeset 82d7d8a51cdd (bug 1769633)
2022-05-17 03:39:06 +03:00
Jim Blandy
ec00294922 Bug 1769633: Update wgpu to b51fd851. r=jgilbert
Fix Firefox for compute_pass_dispatch functions renamed upstream.

Remove set_index_buffer ffi functions; they're now in wgpu.

Differential Revision: https://phabricator.services.mozilla.com/D146509
2022-05-17 00:26:01 +00:00
M. Sirringhaus
208ea397be Bug 1766759 - Use PID when populating the LinuxDsoDebug stream. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D145062
2022-05-10 07:15:15 +00:00
Tooru Fujisawa
9fcc2426e8 Bug 1767562 - Bump jsparagus for bug 1766730. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D145434
2022-05-04 13:27:48 +00:00
Paul Adenot
764a944e17 Bug 1765969 - Update cubeb-coreaudio-rs to 44eca958. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D144426
2022-04-22 15:54:12 +00:00
Jim Blandy
dab2ea0580 Bug 1765462: Update wgpu to 0b61a191 (2022-4-18) r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D144074
2022-04-20 16:29:04 +00:00
Mike Hommey
6b078d7de3 Bug 1660745 - Update encoding_rs to 0.8.31 and packed_simd to 0.3.7. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D88002
2022-04-20 06:24:28 +00:00
Paul Adenot
70126304ab Bug 1764574 - mach vendor rust. r=cubeb-reviewers,chunmin
Depends on D143611

Differential Revision: https://phabricator.services.mozilla.com/D143612
2022-04-13 17:23:38 +00:00
Tooru Fujisawa
1d21d52bd8 Bug 1763276 - Bump jsparagus for bug 1282976. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D143440
2022-04-12 09:16:08 +00:00
Jim Blandy
8c4605cfa4 Bug 1762730: Update wgpu-core, wgpu-hal, and wgpu-types to 75e82afd. r=jgilbert
New versions of several crates are introduced to third_party/rust, by
changing the versions requested in `gfx/wgpu_bindings/Cargo.toml` and
running `mach vendor rust`:

- `wgpu-core`, `wgpu-hal`, and `wgpu-types`, as used by `wgpu_bindings`
- `naga`, `ash`, and `metal`, as used by the above

These are all exact copies of the upstream sources, at the git
revisions listed in `.cargo/config.in`.

This brings in fixes for some upstream `wgpu` bugs that were fuzzblockers:

- Compute pipelines never freed at runtime, leaking memory #2564
  https://github.com/gfx-rs/wgpu/issues/2564

- Device::drop doesn't actually free the device when using backend::direct::Context #2563
  https://github.com/gfx-rs/wgpu/issues/2563

The Firefox sources also needed some adjustments to catch up with
upstream changes:

- The C type `mozilla::webgpu::ffi::WGPUTextureFormat` is now a struct
  containing a tag enum and a union, not just an enum. This is needed
  for [gfx-rs/wgpu#2477](https://github.com/gfx-rs/wgpu/pull/2477).

  (Note that Firefox's `WebGPU.webidl` is behind the current spec,
  so even though the newest ASTC texture formats are supported in `wgpu`,
  they're not available in Firefox yet.)

- `wgpu` got a new feature, `id32`, which cbindgen needed to be told
  about so that it would generate preprocessor-protected code like
  this:

      #if defined(WGPU_FEATURE_ID32)
      typedef uint32_t WGPUNonZeroId;
      #endif

      #if !defined(WGPU_FEATURE_ID32)
      typedef uint64_t WGPUNonZeroId;
      #endif

  instead of just spitting out two conflicting definitions of
  `WGPUNonZeroId`.

- The `wgpu_core::hub::IdentityHandlerFactory` trait's `spawn` method
  no longer takes a `min_index` argument. (Our implementations of that
  trait never used that argument anyway, so this was easy to
  accommodate.)

Differential Revision: https://phabricator.services.mozilla.com/D142779
2022-04-07 00:33:59 +00:00
Cristian Tuns
0f7608c52d Backed out changeset b67fef0360d9 (bug 1762730) for causing build bustages CLOSED TREE 2022-04-05 17:37:32 -04:00
Jim Blandy
8075da04f9 Bug 1762730: Update wgpu-core, wgpu-hal, and wgpu-types to 75e82afd. r=jgilbert
New versions of several crates are introduced to third_party/rust, by
changing the versions requested in `gfx/wgpu_bindings/Cargo.toml` and
running `mach vendor rust`:

- `wgpu-core`, `wgpu-hal`, and `wgpu-types`, as used by `wgpu_bindings`
- `naga`, `ash`, and `metal`, as used by the above

These are all exact copies of the upstream sources, at the git
revisions listed in `.cargo/config.in`.

This brings in fixes for some upstream `wgpu` bugs that were fuzzblockers:

- Compute pipelines never freed at runtime, leaking memory #2564
  https://github.com/gfx-rs/wgpu/issues/2564

- Device::drop doesn't actually free the device when using backend::direct::Context #2563
  https://github.com/gfx-rs/wgpu/issues/2563

The Firefox sources also needed some adjustments to catch up with
upstream changes:

- The C type `mozilla::webgpu::ffi::WGPUTextureFormat` is now a struct
  containing a tag enum and a union, not just an enum. This is needed
  for [gfx-rs/wgpu#2477](https://github.com/gfx-rs/wgpu/pull/2477).

  (Note that Firefox's `WebGPU.webidl` is behind the current spec,
  so even though the newest ASTC texture formats are supported in `wgpu`,
  they're not available in Firefox yet.)

- `wgpu` got a new feature, `id32`, which cbindgen needed to be told
  about so that it would generate preprocessor-protected code like
  this:

      #if defined(WGPU_FEATURE_ID32)
      typedef uint32_t WGPUNonZeroId;
      #endif

      #if !defined(WGPU_FEATURE_ID32)
      typedef uint64_t WGPUNonZeroId;
      #endif

  instead of just spitting out two conflicting definitions of
  `WGPUNonZeroId`.

- The `wgpu_core::hub::IdentityHandlerFactory` trait's `spawn` method
  no longer takes a `min_index` argument. (Our implementations of that
  trait never used that argument anyway, so this was easy to
  accommodate.)

Differential Revision: https://phabricator.services.mozilla.com/D142779
2022-04-05 20:13:28 +00:00
Tooru Fujisawa
c667bd6c01 Bug 1761218 - Bump jsparagus for bug 1760989 and bug 1761755. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D142468
2022-03-30 17:11:00 +00:00
Chun-Min Chang
cc7684c67d Bug 1762036 - mach vendor rust r=cubeb-reviewers,kinetik
Depends on D142363

Differential Revision: https://phabricator.services.mozilla.com/D142364
2022-03-29 23:01:49 +00:00
Matthew Gregan
789c845570 Bug 1761580 - Update AudioIPC branches. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D142150
2022-03-25 23:23:33 +00:00
Dan Minor
f4825ff71f Bug 1757407 - Re-run mach vendor rust; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D139855
2022-03-25 20:39:44 +00:00
Paul Adenot
cf857a0bc3 Bug 1761392 - mach vendor rust. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D142056
2022-03-25 16:47:23 +00:00
Tooru Fujisawa
3f2455f7ca Bug 1760930 - Bump jsparagus for bug 1760605. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D141840
2022-03-23 13:43:18 +00:00
Paul Adenot
d2ed518283 Bug 1760774 - mach vendor rust. r=cubeb-reviewers,kinetik
Depends on D141757

Differential Revision: https://phabricator.services.mozilla.com/D141758
2022-03-23 10:56:56 +00:00
Tooru Fujisawa
3edb437261 Bug 1758877 - Bump jsparagus for bug 885514. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D140721
2022-03-10 11:46:43 +00:00
Matthew Gregan
d98490d201 Bug 1757473 - Update AudioIPC macOS branch to 8e3c4c1b. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D139891
2022-03-01 04:56:47 +00:00
Matthew Gregan
13a95078c3 Bug 1754861 - Update AudioIPC macOS branch to 8b5c7db0. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D138478
2022-02-10 23:07:39 +00:00
smolnar
e62f3ab431 Backed out changeset ea9c0779e27f (bug 1754861) for causing mda failures. CLOSED TREE 2022-02-11 00:24:21 +02:00
Matthew Gregan
fe86399007 Bug 1754861 - Update AudioIPC macOS branch to d4ea0f2e. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D138478
2022-02-10 21:46:19 +00:00
Dragana Damjanovic
2185d4ea34 Bug 1752117 - Neqo version 0.5.7 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D137254
2022-01-31 05:17:42 +00:00
Nika Layzell
3207c4d890 Bug 1746533 - Part 1: Use custom vendored version of async-task, r=emilio
This version adds a new `FallibleTask` wrapper type which allows polling the
task without panicking.

Differential Revision: https://phabricator.services.mozilla.com/D136945
2022-01-26 15:36:13 +00:00
Matthew Gregan
598758c576 Bug 1726279 - Enable AudioIPC rework for Windows and Linux by default. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D134930
2022-01-14 03:52:35 +00:00
Dzmitry Malyshau
71dcb0b551 WIP: Bug 1747750 - Return null WebGPU adapter r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D135645
2022-01-12 15:34:55 +00:00
Mike Hommey
cf732621d4 Bug 1748779 - Update midir and coremidi. r=gsvelto
The midir update reduces the differences with upstream to the coremidi
version.

And now the coremidi override is done via a patch at the top-level. The
revision we were using is gone, but it turns out the new master is
identical in content (at least, as far as vendoring is concerned).

Differential Revision: https://phabricator.services.mozilla.com/D135194
2022-01-07 09:14:10 +00:00
Mike Hommey
01c4ac46ad Bug 1748779 - Move dummy-web in-tree. r=firefox-build-system-reviewers,andi
It will make it easier to adjust those dummy libs when necessary.

Differential Revision: https://phabricator.services.mozilla.com/D135192
2022-01-07 09:14:10 +00:00
Matthew Gregan
7a125de74c Bug 1748515 - Update AudioIPC macOS branch to 978b4082. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D135080
2022-01-05 04:32:36 +00:00
Matthew Gregan
0b14703448 Bug 1748160 - Add pref to select audioipc/audioipc2 version at runtime. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D134929
2022-01-03 22:35:34 +00:00
Tooru Fujisawa
620cdeb60b Bug 1747042 - Bump jsparagus for bug 1730843. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D134952
2022-01-03 14:39:06 +00:00
Matthew Gregan
ba3e6065c0 Bug 1748037 - Update AudioIPC macOS branch to 62086d05. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D134889
2021-12-31 00:09:44 +00:00
Matthew Gregan
39fa22d10b Bug 1747213 - Update AudioIPC macOS branch to 2ec125ec. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D134490
2021-12-28 22:42:55 +00:00
Henri Sivonen
cc4a22e024 Bug 1747394 - Check for space-like bytes instead of just space after a copyright sign. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D134609
2021-12-23 13:37:43 +00:00
Henri Sivonen
917c511c5f Bug 1731482 - Detect lone windows-1252 copyright sign as window-1252. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D134605
2021-12-23 13:14:34 +00:00
Erik Nordin
5a5e1c57ed Bug 1743659 - Part 1: Update Gecko's L10nRegistry to use the new l10nregistry-rs API r=zbraniecki,dminor,eemeli,fluent-reviewers,webidl,smaug?,eemeli?,zbraniecki
- Updates Gecko's L10nRegistry class to use the new ResourceId type,
  which can be either optional or required regarding a particular resource.
- Adds JS tests verifying the new behavior.

Differential Revision: https://phabricator.services.mozilla.com/D133578
2021-12-22 19:08:38 +00:00
Dzmitry Malyshau
870e917d28 Bug 1743668 - WebGPU debug groups r=jimb,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D134018
2021-12-21 14:51:16 +00:00
Gabriele Svelto
ee6325f662 Bug 1728436 - Vendor the midir crate r=padenot
This is as close to usptream as currently possibly. Only a few changes were
done to the dependencies: the wasm target was removed and the coremidi
dependency was updated to pick up a more recent version so that we don't need
to vendor separate versions of the core-foundation and core-foundation-sys
crates.

This vendors the following crates:
* alsa-sys
* alsa
* coremidi
* coremidi-sys
* memalloc
* midir

Overall this adds ~30K lines of code, over half of which is in the alsa
bindings alone.

Differential Revision: https://phabricator.services.mozilla.com/D124640
2021-12-21 11:34:51 +00:00
Jon Bauman
ffc22b2f8a Bug 1745608 - Add additional AVIF telemetry for unimplemented features. r=aosmond CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D133580
2021-12-18 20:05:19 +00:00
Matthew Gregan
44a6ef81dc Bug 1746689 - Update AudioIPC macos branch to e9eac9d7. r=cubeb-reviewers,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D134202
2021-12-18 01:24:04 +00:00
Matthew Gregan
4ea4986b93 Bug 1746352 - Update audioipc to 515bb210. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D133995
2021-12-16 10:37:12 +00:00
Butkovits Atila
5e15e00fa2 Backed out changeset 65cda71ffcdd (bug 1746352) for causing bustages complaining about new API. CLOSED TREE 2021-12-16 12:17:45 +02:00
Matthew Gregan
96e9bde4a3 Bug 1746352 - Update audioipc to 776ef93a. r=cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D133995
2021-12-16 09:32:27 +00:00
Matthew Gregan
165a462e57 Bug 1726275 - Update AudioIPC to pick up IPC rework. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D132541
2021-12-16 06:24:23 +00:00
Marian-Vasile Laza
18cfc4f987 Backed out changeset 736011c1640c (bug 1726275) for causing build bustages. CLOSED TREE 2021-12-16 06:08:19 +02:00
Matthew Gregan
c475ed79ea Bug 1726275 - Update AudioIPC to pick up IPC rework. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D132541
2021-12-16 03:02:02 +00:00
Paul Adenot
eac461c684 Bug 1745724 - mach vendor rust. r=cubeb-reviewers,kinetik
Depends on D133631

Differential Revision: https://phabricator.services.mozilla.com/D133632
2021-12-13 14:18:09 +00:00