alpha2 0.6.1 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +3 -3
  2. package/dist/effects.d.ts +3 -2
  3. package/dist/export-failure.d.ts +6 -0
  4. package/dist/export-failure.js +18 -1
  5. package/dist/export-retry.d.ts +2 -1
  6. package/dist/export-retry.js +12 -5
  7. package/dist/extract.d.ts +0 -5
  8. package/dist/extract.js +5 -12
  9. package/dist/extractor.d.ts +16 -3
  10. package/dist/extractor.js +2 -1
  11. package/dist/generated/project-schema.d.ts +31 -1
  12. package/dist/generated/project-schema.js +5 -0
  13. package/dist/generated/project-shape.js +14 -1
  14. package/dist/gpu-recovery.d.ts +13 -5
  15. package/dist/gpu-recovery.js +19 -8
  16. package/dist/hdr-frames.js +2 -0
  17. package/dist/media-source.d.ts +3 -0
  18. package/dist/media-source.js +13 -0
  19. package/dist/media.d.ts +12 -1
  20. package/dist/media.js +15 -1
  21. package/dist/mediabunny.d.ts +4 -1
  22. package/dist/mediabunny.js +22 -23
  23. package/dist/player.js +2 -0
  24. package/dist/plugin-manifest.d.ts +119 -0
  25. package/dist/plugin-manifest.js +583 -0
  26. package/dist/plugin-supplied.d.ts +55 -0
  27. package/dist/plugin-supplied.js +221 -0
  28. package/dist/plugins.d.ts +87 -9
  29. package/dist/plugins.js +196 -47
  30. package/dist/project-data.d.ts +19 -0
  31. package/dist/project-data.js +210 -7
  32. package/dist/project.d.ts +1 -1
  33. package/dist/project.js +1 -1
  34. package/dist/sha256.d.ts +1 -1
  35. package/package.json +1 -1
  36. package/wasm/alpha2_compose_bg.wasm +0 -0
  37. package/wasm/alpha2_extensions_bg.wasm +0 -0
  38. package/wasm/alpha2_extensions_pdf_bg.wasm +0 -0
  39. package/wasm/alpha2_wasm.d.ts +14 -12
  40. package/wasm/alpha2_wasm.js +48 -46
  41. package/wasm/alpha2_wasm_bg.wasm +0 -0
  42. package/wasm/alpha2_wasm_bg.wasm.d.ts +6 -6
  43. /package/wasm/snippets/{alpha2-wasm-6749ed8b34a74067/inline4.js → alpha2-wasm-7cccf477e10e3d0d/inline0.js} +0 -0
  44. /package/wasm/snippets/{alpha2-wasm-6749ed8b34a74067/inline0.js → alpha2-wasm-7cccf477e10e3d0d/inline1.js} +0 -0
  45. /package/wasm/snippets/{alpha2-wasm-6749ed8b34a74067/inline1.js → alpha2-wasm-7cccf477e10e3d0d/inline2.js} +0 -0
  46. /package/wasm/snippets/{alpha2-wasm-6749ed8b34a74067/inline2.js → alpha2-wasm-7cccf477e10e3d0d/inline3.js} +0 -0
  47. /package/wasm/snippets/{alpha2-wasm-6749ed8b34a74067/inline3.js → alpha2-wasm-7cccf477e10e3d0d/inline4.js} +0 -0
package/dist/sha256.d.ts CHANGED
@@ -15,7 +15,7 @@ export declare class Sha256 {
15
15
  *
16
16
  * Rejects with `signal.reason` on abort, or with the stream's error when the blob cannot be read.
17
17
  */
18
- export declare function sha256Blob(blob: Blob, options?: {
18
+ export declare function sha256Blob(blob: Pick<Blob, "stream">, options?: {
19
19
  readonly signal?: AbortSignal;
20
20
  readonly onProgress?: (bytes: number) => void;
21
21
  }): Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alpha2",
3
- "version": "0.6.1",
3
+ "version": "0.7.0",
4
4
  "license": "MIT",
5
5
  "description": "JavaScript bindings for the standalone alpha2 media engine.",
6
6
  "repository": {
Binary file
Binary file
Binary file
@@ -1334,8 +1334,8 @@ export class WebEffectRegistry {
1334
1334
  submittedWorkDone(): Promise<any>;
1335
1335
  /**
1336
1336
  * How frames rendered since the last call were split into GPU submissions to stay under
1337
- * the watchdog budget, as JSON `{ frames, splitFrames, maxPerFrame, maxPredictedMs }` (the
1338
- * native host's `performance.gpuSubmissions`). Resets the counts.
1337
+ * the watchdog budget, as JSON `{ frames, splitFrames, maxPerFrame, maxPredictedMs,
1338
+ * overBudget }` (the native host's `performance.gpuSubmissions`). Resets the counts.
1339
1339
  */
1340
1340
  takeGpuSubmissionStats(): string;
1341
1341
  /**
@@ -1487,10 +1487,12 @@ export class WebEffectRegistry {
1487
1487
  readonly deviceLost: boolean;
1488
1488
  /**
1489
1489
  * After a loss ([`Self::device_lost`]), what the renderer's submission times say about it,
1490
- * as JSON `{ hung, gpuMs, watchdogMs, timeTicks, frameIndex, effects, predictedMs }`.
1491
- * `hung` means the longest recent submission ran at least half the GPU watchdog, so the
1492
- * loss was most likely this work's and rerunning it would stop the GPU again. `undefined`
1493
- * before any loss.
1490
+ * as JSON `{ hung, gpuMs, measured, submissions, watchdogMs, timeTicks, frameIndex, effects,
1491
+ * predictedMs }`; `gpuMs` is an upper bound unless `measured`. `hung` means a recent
1492
+ * submission ran at least half the GPU watchdog, or `submissions` completed together did and
1493
+ * ran more than twice their predicted time, so the loss was most likely this work's and
1494
+ * rerunning it would stop the GPU again; the other fields describe that submission, else the
1495
+ * longest. `undefined` before any loss.
1494
1496
  */
1495
1497
  readonly lossReport: string | undefined;
1496
1498
  /**
@@ -2017,13 +2019,13 @@ export interface InitOutput {
2017
2019
  readonly webeffectregistry_videoFrameCopy: (a: number) => [number, number];
2018
2020
  readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___js_sys_dcf218532b47778c___Function_fn_wasm_bindgen_d171202afaeab6f2___JsValue_____wasm_bindgen_d171202afaeab6f2___sys__Undefined___js_sys_dcf218532b47778c___Function_fn_wasm_bindgen_d171202afaeab6f2___JsValue_____wasm_bindgen_d171202afaeab6f2___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
2019
2021
  readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_: (a: number, b: number, c: any) => [number, number];
2020
- readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_: (a: number, b: number, c: any) => [number, number];
2021
- readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__248: (a: number, b: number, c: any) => [number, number];
2022
- readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__251: (a: number, b: number, c: any) => [number, number];
2023
- readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__252: (a: number, b: number, c: any) => [number, number];
2022
+ readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_: (a: number, b: number, c: any) => [number, number];
2023
+ readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__248: (a: number, b: number, c: any) => [number, number];
2024
+ readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__251: (a: number, b: number, c: any) => [number, number];
2025
+ readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__252: (a: number, b: number, c: any) => [number, number];
2024
2026
  readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___web_sys_9e2ae0ace5131457___features__gen_Event__Event______true_: (a: number, b: number, c: any) => void;
2025
- readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_: (a: number, b: number, c: any) => void;
2026
- readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__250: (a: number, b: number, c: any) => void;
2027
+ readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_: (a: number, b: number, c: any) => void;
2028
+ readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__250: (a: number, b: number, c: any) => void;
2027
2029
  readonly wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke_______true_: (a: number, b: number) => void;
2028
2030
  readonly __wbindgen_malloc: (a: number, b: number) => number;
2029
2031
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
@@ -1,11 +1,11 @@
1
1
  /* @ts-self-types="./alpha2_wasm.d.ts" */
2
- import { alpha2BitmapUploadProbe, alpha2FrameBitmap, alpha2ImagePixels } from './snippets/alpha2-wasm-6749ed8b34a74067/inline1.js';
3
- import { alpha2CopyExternalImage } from './snippets/alpha2-wasm-6749ed8b34a74067/inline2.js';
4
- import { alpha2CopyOutBytes, alpha2CopyOutView } from './snippets/alpha2-wasm-6749ed8b34a74067/inline3.js';
5
- import { alpha2Canvas2d, alpha2PutRgba, alpha2ResizeCanvas } from './snippets/alpha2-wasm-6749ed8b34a74067/inline4.js';
6
- import * as import1 from "./snippets/alpha2-wasm-6749ed8b34a74067/inline0.js"
7
- import * as import2 from "./snippets/alpha2-wasm-6749ed8b34a74067/inline0.js"
8
- import * as import3 from "./snippets/alpha2-wasm-6749ed8b34a74067/inline0.js"
2
+ import { alpha2Canvas2d, alpha2ImagePixels, alpha2PutRgba, alpha2ResizeCanvas } from './snippets/alpha2-wasm-7cccf477e10e3d0d/inline0.js';
3
+ import { alpha2BitmapUploadProbe, alpha2FrameBitmap } from './snippets/alpha2-wasm-7cccf477e10e3d0d/inline2.js';
4
+ import { alpha2CopyExternalImage } from './snippets/alpha2-wasm-7cccf477e10e3d0d/inline3.js';
5
+ import { alpha2CopyOutBytes, alpha2CopyOutView } from './snippets/alpha2-wasm-7cccf477e10e3d0d/inline4.js';
6
+ import * as import1 from "./snippets/alpha2-wasm-7cccf477e10e3d0d/inline1.js"
7
+ import * as import2 from "./snippets/alpha2-wasm-7cccf477e10e3d0d/inline1.js"
8
+ import * as import3 from "./snippets/alpha2-wasm-7cccf477e10e3d0d/inline1.js"
9
9
 
10
10
 
11
11
  /**
@@ -2958,10 +2958,12 @@ export class WebEffectRegistry {
2958
2958
  }
2959
2959
  /**
2960
2960
  * After a loss ([`Self::device_lost`]), what the renderer's submission times say about it,
2961
- * as JSON `{ hung, gpuMs, watchdogMs, timeTicks, frameIndex, effects, predictedMs }`.
2962
- * `hung` means the longest recent submission ran at least half the GPU watchdog, so the
2963
- * loss was most likely this work's and rerunning it would stop the GPU again. `undefined`
2964
- * before any loss.
2961
+ * as JSON `{ hung, gpuMs, measured, submissions, watchdogMs, timeTicks, frameIndex, effects,
2962
+ * predictedMs }`; `gpuMs` is an upper bound unless `measured`. `hung` means a recent
2963
+ * submission ran at least half the GPU watchdog, or `submissions` completed together did and
2964
+ * ran more than twice their predicted time, so the loss was most likely this work's and
2965
+ * rerunning it would stop the GPU again; the other fields describe that submission, else the
2966
+ * longest. `undefined` before any loss.
2965
2967
  * @returns {string | undefined}
2966
2968
  */
2967
2969
  get lossReport() {
@@ -3373,8 +3375,8 @@ export class WebEffectRegistry {
3373
3375
  }
3374
3376
  /**
3375
3377
  * How frames rendered since the last call were split into GPU submissions to stay under
3376
- * the watchdog budget, as JSON `{ frames, splitFrames, maxPerFrame, maxPredictedMs }` (the
3377
- * native host's `performance.gpuSubmissions`). Resets the counts.
3378
+ * the watchdog budget, as JSON `{ frames, splitFrames, maxPerFrame, maxPredictedMs,
3379
+ * overBudget }` (the native host's `performance.gpuSubmissions`). Resets the counts.
3378
3380
  * @returns {string}
3379
3381
  */
3380
3382
  takeGpuSubmissionStats() {
@@ -4572,40 +4574,40 @@ function __wbg_get_imports() {
4572
4574
  __wbg_addEventListener_9534e2dc12044ee4: function() { return handleError(function (arg0, arg1, arg2, arg3) {
4573
4575
  arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
4574
4576
  }, arguments); },
4575
- __wbg_alpha2BitmapUploadProbe_05d37364d0b1bd87: function() { return handleError(function () {
4577
+ __wbg_alpha2BitmapUploadProbe_98861ae43c1300fe: function() { return handleError(function () {
4576
4578
  const ret = alpha2BitmapUploadProbe();
4577
4579
  return ret;
4578
4580
  }, arguments); },
4579
- __wbg_alpha2Canvas2d_0603e9cd882c3fe7: function() { return handleError(function (arg0) {
4581
+ __wbg_alpha2Canvas2d_602408fe79c98bd6: function() { return handleError(function (arg0) {
4580
4582
  const ret = alpha2Canvas2d(arg0);
4581
4583
  return ret;
4582
4584
  }, arguments); },
4583
- __wbg_alpha2CopyExternalImage_d85b19dca1d8d56b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4585
+ __wbg_alpha2CopyExternalImage_405dde5206b397dc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4584
4586
  alpha2CopyExternalImage(arg0, arg1, arg2, arg3 >>> 0, arg4 >>> 0);
4585
4587
  }, arguments); },
4586
- __wbg_alpha2CopyOutBytes_e160140bceae508d: function() { return handleError(function (arg0, arg1) {
4588
+ __wbg_alpha2CopyOutBytes_f501f7647c6d785c: function() { return handleError(function (arg0, arg1) {
4587
4589
  const ret = alpha2CopyOutBytes(getArrayU8FromWasm0(arg0, arg1));
4588
4590
  return ret;
4589
4591
  }, arguments); },
4590
- __wbg_alpha2CopyOutView_8158a7f89556342d: function() { return handleError(function (arg0) {
4592
+ __wbg_alpha2CopyOutView_251f1415916835da: function() { return handleError(function (arg0) {
4591
4593
  const ret = alpha2CopyOutView(arg0);
4592
4594
  return ret;
4593
4595
  }, arguments); },
4594
- __wbg_alpha2FrameBitmap_aa4d91c3775b94e8: function() { return handleError(function (arg0, arg1, arg2) {
4596
+ __wbg_alpha2FrameBitmap_b4261168d6b1a3ea: function() { return handleError(function (arg0, arg1, arg2) {
4595
4597
  const ret = alpha2FrameBitmap(arg0, arg1 >>> 0, arg2 >>> 0);
4596
4598
  return ret;
4597
4599
  }, arguments); },
4598
- __wbg_alpha2ImagePixels_35b8b80e6924a844: function() { return handleError(function (arg0, arg1, arg2, arg3) {
4600
+ __wbg_alpha2ImagePixels_0091589a0b6e8e6f: function() { return handleError(function (arg0, arg1, arg2, arg3) {
4599
4601
  const ret = alpha2ImagePixels(arg1, arg2 >>> 0, arg3 >>> 0);
4600
4602
  const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
4601
4603
  const len1 = WASM_VECTOR_LEN;
4602
4604
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
4603
4605
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
4604
4606
  }, arguments); },
4605
- __wbg_alpha2PutRgba_71484c33a06246cc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4607
+ __wbg_alpha2PutRgba_18cb869651c56553: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
4606
4608
  alpha2PutRgba(arg0, getArrayU8FromWasm0(arg1, arg2), arg3 >>> 0, arg4 >>> 0);
4607
4609
  }, arguments); },
4608
- __wbg_alpha2ResizeCanvas_107e71b253504777: function() { return handleError(function (arg0, arg1, arg2) {
4610
+ __wbg_alpha2ResizeCanvas_4d1c189ed51683d9: function() { return handleError(function (arg0, arg1, arg2) {
4609
4611
  alpha2ResizeCanvas(arg0, arg1 >>> 0, arg2 >>> 0);
4610
4612
  }, arguments); },
4611
4613
  __wbg_apply_5d9aa7604c2490a8: function() { return handleError(function (arg0, arg1, arg2) {
@@ -6840,47 +6842,47 @@ function __wbg_get_imports() {
6840
6842
  arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
6841
6843
  }, arguments); },
6842
6844
  __wbindgen_generic_0000000000000001: function(arg0, arg1) {
6843
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4142, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
6845
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 4145, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
6844
6846
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_);
6845
6847
  return ret;
6846
6848
  },
6847
6849
  __wbindgen_generic_0000000000000002: function(arg0, arg1) {
6848
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 323, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
6850
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 247, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
6849
6851
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___web_sys_9e2ae0ace5131457___features__gen_Event__Event______true_);
6850
6852
  return ret;
6851
6853
  },
6852
6854
  __wbindgen_generic_0000000000000003: function(arg0, arg1) {
6853
6855
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUCompilationInfo")], shim_idx: 1923, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
6854
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_);
6856
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_);
6855
6857
  return ret;
6856
6858
  },
6857
6859
  __wbindgen_generic_0000000000000004: function(arg0, arg1) {
6858
6860
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 1923, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
6859
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__248);
6861
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__248);
6860
6862
  return ret;
6861
6863
  },
6862
6864
  __wbindgen_generic_0000000000000005: function(arg0, arg1) {
6863
6865
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx: 1926, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
6864
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_);
6866
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_);
6865
6867
  return ret;
6866
6868
  },
6867
6869
  __wbindgen_generic_0000000000000006: function(arg0, arg1) {
6868
6870
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 1926, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
6869
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__250);
6871
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__250);
6870
6872
  return ret;
6871
6873
  },
6872
6874
  __wbindgen_generic_0000000000000007: function(arg0, arg1) {
6873
6875
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 1923, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
6874
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__251);
6876
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__251);
6875
6877
  return ret;
6876
6878
  },
6877
6879
  __wbindgen_generic_0000000000000008: function(arg0, arg1) {
6878
6880
  // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 1923, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
6879
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__252);
6881
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__252);
6880
6882
  return ret;
6881
6883
  },
6882
6884
  __wbindgen_generic_0000000000000009: function(arg0, arg1) {
6883
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 325, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
6885
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 249, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
6884
6886
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke_______true_);
6885
6887
  return ret;
6886
6888
  },
@@ -6947,9 +6949,9 @@ function __wbg_get_imports() {
6947
6949
  return {
6948
6950
  __proto__: null,
6949
6951
  "./alpha2_wasm_bg.js": import0,
6950
- "./snippets/alpha2-wasm-6749ed8b34a74067/inline0.js": import1,
6951
- "./snippets/alpha2-wasm-6749ed8b34a74067/inline0.js": import2,
6952
- "./snippets/alpha2-wasm-6749ed8b34a74067/inline0.js": import3,
6952
+ "./snippets/alpha2-wasm-7cccf477e10e3d0d/inline1.js": import1,
6953
+ "./snippets/alpha2-wasm-7cccf477e10e3d0d/inline1.js": import2,
6954
+ "./snippets/alpha2-wasm-7cccf477e10e3d0d/inline1.js": import3,
6953
6955
  };
6954
6956
  }
6955
6957
 
@@ -6961,12 +6963,12 @@ function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___web_sys_
6961
6963
  wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___web_sys_9e2ae0ace5131457___features__gen_Event__Event______true_(arg0, arg1, arg2);
6962
6964
  }
6963
6965
 
6964
- function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2) {
6965
- wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2);
6966
+ function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2) {
6967
+ wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_(arg0, arg1, arg2);
6966
6968
  }
6967
6969
 
6968
- function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__250(arg0, arg1, arg2) {
6969
- wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__250(arg0, arg1, arg2);
6970
+ function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__250(arg0, arg1, arg2) {
6971
+ wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__250(arg0, arg1, arg2);
6970
6972
  }
6971
6973
 
6972
6974
  function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_(arg0, arg1, arg2) {
@@ -6976,29 +6978,29 @@ function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bin
6976
6978
  }
6977
6979
  }
6978
6980
 
6979
- function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_(arg0, arg1, arg2) {
6980
- const ret = wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_(arg0, arg1, arg2);
6981
+ function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_(arg0, arg1, arg2) {
6982
+ const ret = wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_(arg0, arg1, arg2);
6981
6983
  if (ret[1]) {
6982
6984
  throw takeFromExternrefTable0(ret[0]);
6983
6985
  }
6984
6986
  }
6985
6987
 
6986
- function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__248(arg0, arg1, arg2) {
6987
- const ret = wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__248(arg0, arg1, arg2);
6988
+ function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__248(arg0, arg1, arg2) {
6989
+ const ret = wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__248(arg0, arg1, arg2);
6988
6990
  if (ret[1]) {
6989
6991
  throw takeFromExternrefTable0(ret[0]);
6990
6992
  }
6991
6993
  }
6992
6994
 
6993
- function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__251(arg0, arg1, arg2) {
6994
- const ret = wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__251(arg0, arg1, arg2);
6995
+ function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__251(arg0, arg1, arg2) {
6996
+ const ret = wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__251(arg0, arg1, arg2);
6995
6997
  if (ret[1]) {
6996
6998
  throw takeFromExternrefTable0(ret[0]);
6997
6999
  }
6998
7000
  }
6999
7001
 
7000
- function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__252(arg0, arg1, arg2) {
7001
- const ret = wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__252(arg0, arg1, arg2);
7002
+ function wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__252(arg0, arg1, arg2) {
7003
+ const ret = wasm.wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__252(arg0, arg1, arg2);
7002
7004
  if (ret[1]) {
7003
7005
  throw takeFromExternrefTable0(ret[0]);
7004
7006
  }
Binary file
@@ -260,13 +260,13 @@ export const webeffectregistry_uploadedFrameCount: (a: number) => number;
260
260
  export const webeffectregistry_videoFrameCopy: (a: number) => [number, number];
261
261
  export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___js_sys_dcf218532b47778c___Function_fn_wasm_bindgen_d171202afaeab6f2___JsValue_____wasm_bindgen_d171202afaeab6f2___sys__Undefined___js_sys_dcf218532b47778c___Function_fn_wasm_bindgen_d171202afaeab6f2___JsValue_____wasm_bindgen_d171202afaeab6f2___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
262
262
  export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___JsValue__core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_: (a: number, b: number, c: any) => [number, number];
263
- export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_: (a: number, b: number, c: any) => [number, number];
264
- export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__248: (a: number, b: number, c: any) => [number, number];
265
- export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__251: (a: number, b: number, c: any) => [number, number];
266
- export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__252: (a: number, b: number, c: any) => [number, number];
263
+ export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true_: (a: number, b: number, c: any) => [number, number];
264
+ export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__248: (a: number, b: number, c: any) => [number, number];
265
+ export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__251: (a: number, b: number, c: any) => [number, number];
266
+ export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wasm_bindgen_d171202afaeab6f2___sys__JsNullable_wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_608f92abc48d28da___result__Result_____wasm_bindgen_d171202afaeab6f2___JsError___true__252: (a: number, b: number, c: any) => [number, number];
267
267
  export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___web_sys_9e2ae0ace5131457___features__gen_Event__Event______true_: (a: number, b: number, c: any) => void;
268
- export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_: (a: number, b: number, c: any) => void;
269
- export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_8caefb168ee8d692___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__250: (a: number, b: number, c: any) => void;
268
+ export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true_: (a: number, b: number, c: any) => void;
269
+ export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke___wgpu_5429c13006ee7659___backend__webgpu__webgpu_sys__gen_GpuDeviceLostInfo__GpuDeviceLostInfo______true__250: (a: number, b: number, c: any) => void;
270
270
  export const wasm_bindgen_d171202afaeab6f2___convert__closures_____invoke_______true_: (a: number, b: number) => void;
271
271
  export const __wbindgen_malloc: (a: number, b: number) => number;
272
272
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;