react-native-wgpu 0.5.14 → 0.5.15

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.
package/README.md CHANGED
@@ -1,30 +1,9 @@
1
1
  # react-native-wgpu
2
2
 
3
- This package is a thin shim that re-exports [`react-native-webgpu`](https://www.npmjs.com/package/react-native-webgpu) under its previous npm name.
3
+ This package has been renamed to [`react-native-webgpu`](https://www.npmjs.com/package/react-native-webgpu).
4
4
 
5
- It exists so that projects that depended on the older `react-native-wgpu` name keep working without an immediate code change. New projects should depend on `react-native-webgpu` directly.
6
-
7
- ## Installation
5
+ Please use `react-native-webgpu` instead.
8
6
 
9
7
  ```
10
- npm install react-native-wgpu
8
+ npm install react-native-webgpu
11
9
  ```
12
-
13
- This installs `react-native-webgpu` as a dependency. All imports are forwarded:
14
-
15
- ```ts
16
- import { Canvas } from "react-native-wgpu";
17
- // equivalent to
18
- import { Canvas } from "react-native-webgpu";
19
- ```
20
-
21
- ## Migrating
22
-
23
- Replace the dependency in your `package.json`:
24
-
25
- ```diff
26
- - "react-native-wgpu": "^0.5.11"
27
- + "react-native-webgpu": "^0.5.11"
28
- ```
29
-
30
- and update your imports from `"react-native-wgpu"` to `"react-native-webgpu"`.
@@ -9,6 +9,15 @@ export interface NativeCanvas {
9
9
  clientHeight: number;
10
10
  }
11
11
  export type RNCanvasContext = GPUCanvasContext & {
12
+ /**
13
+ * Present the current frame.
14
+ *
15
+ * Call this after `queue.submit()` on every runtime: the main JS runtime, the
16
+ * Reanimated UI runtime, and dedicated worklet runtimes (e.g.
17
+ * `createWorkletRuntime` / `runOnRuntime`, or a Vision Camera frame
18
+ * processor). It runs synchronously on the calling thread, so the frame is
19
+ * presented from whichever thread did the rendering.
20
+ */
12
21
  present: () => void;
13
22
  };
14
23
  export interface CanvasRef {
@@ -1 +1 @@
1
- {"version":3,"file":"Canvas.d.ts","sourceRoot":"","sources":["../../../../../webgpu/src/Canvas.tsx"],"names":[],"mappings":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AQG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,UAAU,CAAC,WAAW,EAAE,QAAQ,GAAG,eAAe,GAAG,IAAI,CAAC;IAC1D,gBAAgB,EAAE,MAAM,YAAY,CAAC;CACtC;AAED,UAAU,WAAY,SAAQ,SAAS;IACrC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;CAC5B;AAED,eAAO,MAAM,MAAM,GAAI,gCAAgC,WAAW,sBAuCjE,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const GPUBufferUsage: GPUBufferUsage;
2
+ export declare const GPUTextureUsage: GPUTextureUsage;
3
+ export declare const GPUShaderStage: GPUShaderStage;
4
+ export declare const GPUColorWrite: GPUColorWrite;
5
+ export declare const GPUMapMode: GPUMapMode;
6
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../webgpu/src/constants.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,cAAc,gBAA4B,CAAC;AAExD,eAAO,MAAM,eAAe,iBAA6B,CAAC;AAE1D,eAAO,MAAM,cAAc,gBAA4B,CAAC;AAExD,eAAO,MAAM,aAAa,eAA2B,CAAC;AAEtD,eAAO,MAAM,UAAU,YAAwB,CAAC"}
@@ -1,6 +1,8 @@
1
- import type { GPUDawnTogglesDescriptor, GPUSharedTextureMemory, GPUSharedTextureMemoryDescriptor, NativeCanvas, RNCanvasContext, VideoPlayer, NativeVideoFrame, NativeVideoPixelFormat } from "./types";
1
+ import type { GPUSharedFence, GPUSharedFenceDescriptor, GPUDawnTogglesDescriptor, GPUSharedTextureMemory, GPUSharedTextureMemoryDescriptor, NativeCanvas, RNCanvasContext, VideoPlayer, NativeVideoFrame, NativeVideoPixelFormat } from "./types";
2
2
  export * from "./main";
3
- export type { NativeVideoFrame, VideoPlayer, NativeVideoPixelFormat, CreateVideoPlayerOptions, GPUSharedTextureMemory, GPUSharedTextureMemoryDescriptor, GPUDawnTogglesDescriptor, } from "./types";
3
+ export * from "./constants";
4
+ export * from "./install";
5
+ export type { NativeVideoFrame, VideoPlayer, GPUSharedFence, GPUSharedFenceDescriptor, GPUSharedFenceExportInfo, GPUSharedFenceState, GPUSharedFenceType, GPUSharedTextureMemory, GPUSharedTextureMemoryDescriptor, GPUSharedTextureMemoryEndAccessState, NativeVideoPixelFormat, CreateVideoPlayerOptions, GPUDawnTogglesDescriptor, } from "./types";
4
6
  declare global {
5
7
  interface Navigator {
6
8
  gpu: GPU;
@@ -21,6 +23,7 @@ declare global {
21
23
  };
22
24
  interface GPUDevice {
23
25
  importSharedTextureMemory(descriptor: GPUSharedTextureMemoryDescriptor): GPUSharedTextureMemory;
26
+ importSharedFence(descriptor: GPUSharedFenceDescriptor): GPUSharedFence;
24
27
  }
25
28
  interface GPUDeviceDescriptor {
26
29
  dawnToggles?: GPUDawnTogglesDescriptor;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../webgpu/src/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,wBAAwB,EACxB,sBAAsB,EACtB,gCAAgC,EAChC,YAAY,EACZ,eAAe,EACf,WAAW,EACX,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,SAAS,CAAC;AAEjB,cAAc,QAAQ,CAAC;AACvB,YAAY,EACV,gBAAgB,EAChB,WAAW,EACX,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,gCAAgC,EAChC,wBAAwB,GACzB,MAAM,SAAS,CAAC;AAEjB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,SAAS;QACjB,GAAG,EAAE,GAAG,CAAC;KACV;IAED,IAAI,SAAS,EAAE,SAAS,CAAC;IAEzB,IAAI,QAAQ,EAAE;QACZ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AM,EACZ,WAAW,CAAC,EAAE,sBAAsB,KACjC,WAAW,CAAC;QACjB,kBAAkB,EAAE,MAAM,MAAM,CAAC;KAClC,CAAC;IAEF,UAAU,SAAS;QACjB,yBAAyB,CACvB,UAAU,EAAE,gCAAgC,GAC3C,sBAAsB,CAAC;QAC1B,iBAAiB,CAAC,UAAU,EAAE,wBAAwB,GAAG,cAAc,CAAC;KACzE;IAID,UAAU,mBAAmB;QAC3B,WAAW,CAAC,EAAE,wBAAwB,CAAC;KACxC;IAMD,UAAU,4BAA4B;QACpC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,GAAG,CAAC;QAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB;IASD,UAAU,kBAAkB;QAC1B,OAAO,IAAI,IAAI,CAAC;KACjB;IAGD,SAAS,iBAAiB,CACxB,KAAK,EAAE,WAAW,GAAG,eAAe,GACnC,OAAO,CAAC,WAAW,CAAC,CAAC;CACzB"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Install WebGPU on the runtime that calls it.
3
+ *
4
+ * The native module installs the WebGPU flag constants (`GPUBufferUsage`,
5
+ * `GPUTextureUsage`, `GPUShaderStage`, `GPUColorWrite`, `GPUMapMode`) as globals
6
+ * on the main JS runtime, but worklet runtimes (Reanimated UI, dedicated worklet
7
+ * runtimes, Vision Camera frame processors) start without them, so referencing
8
+ * the bare global inside a worklet yields `undefined`.
9
+ *
10
+ * Call `installWebGPU()` once at the top of a worklet to make those globals
11
+ * available there, instead of importing each constant by hand:
12
+ *
13
+ * ```tsx
14
+ * import { installWebGPU } from "react-native-webgpu";
15
+ *
16
+ * const work = (device: GPUDevice) => {
17
+ * "worklet";
18
+ * installWebGPU();
19
+ * device.createBuffer({
20
+ * usage: GPUBufferUsage.COPY_DST | GPUBufferUsage.MAP_READ,
21
+ * });
22
+ * };
23
+ * ```
24
+ *
25
+ * The constants are captured into the worklet by closure (the same way a shader
26
+ * string is), so they work on every runtime. Calling it on a runtime that
27
+ * already has the globals (e.g. the main JS runtime) is a safe no-op.
28
+ *
29
+ * This is the explicit entry point for runtime setup; for now it only installs
30
+ * the flag constants, but it is the place where other per-runtime WebGPU setup
31
+ * (e.g. `navigator.gpu`) can be wired in later.
32
+ */
33
+ export declare const installWebGPU: () => void;
34
+ //# sourceMappingURL=install.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../../../../../webgpu/src/install.ts"],"names":[],"mappings":"AAoBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,aAAa,YAQzB,CAAC"}
@@ -7,6 +7,15 @@ export interface NativeCanvas {
7
7
  clientHeight: number;
8
8
  }
9
9
  export type RNCanvasContext = GPUCanvasContext & {
10
+ /**
11
+ * Present the current frame.
12
+ *
13
+ * Call this after `queue.submit()` on every runtime: the main JS runtime, the
14
+ * Reanimated UI runtime, and dedicated worklet runtimes (e.g.
15
+ * `createWorkletRuntime` / `runOnRuntime`, or a Vision Camera frame
16
+ * processor). It runs synchronously on the calling thread, so the frame is
17
+ * presented from whichever thread did the rendering.
18
+ */
10
19
  present: () => void;
11
20
  };
12
21
  export interface CanvasRef {
@@ -35,6 +44,29 @@ export interface GPUSharedTextureMemoryDescriptor {
35
44
  handle: bigint;
36
45
  label?: string;
37
46
  }
47
+ export type GPUSharedFenceType = "mtl-shared-event" | "sync-fd" | "vk-semaphore-opaque-fd";
48
+ export interface GPUSharedFenceDescriptor {
49
+ type: GPUSharedFenceType;
50
+ handle: bigint;
51
+ label?: string;
52
+ }
53
+ export interface GPUSharedFenceExportInfo {
54
+ type: GPUSharedFenceType;
55
+ handle: bigint;
56
+ }
57
+ export interface GPUSharedFence {
58
+ readonly __brand: "GPUSharedFence";
59
+ label: string;
60
+ export(): GPUSharedFenceExportInfo;
61
+ }
62
+ export interface GPUSharedFenceState {
63
+ fence: GPUSharedFence;
64
+ signaledValue: bigint;
65
+ }
66
+ export interface GPUSharedTextureMemoryEndAccessState {
67
+ initialized: boolean;
68
+ fences: GPUSharedFenceState[];
69
+ }
38
70
  export interface GPUDawnTogglesDescriptor {
39
71
  enabledToggles?: string[];
40
72
  disabledToggles?: string[];
@@ -43,8 +75,8 @@ export interface GPUSharedTextureMemory {
43
75
  readonly __brand: "GPUSharedTextureMemory";
44
76
  label: string;
45
77
  createTexture(descriptor?: GPUTextureDescriptor): GPUTexture;
46
- beginAccess(texture: GPUTexture, initialized: boolean): boolean;
47
- endAccess(texture: GPUTexture): boolean;
78
+ beginAccess(texture: GPUTexture, initialized: boolean, fences?: GPUSharedFenceState[]): void;
79
+ endAccess(texture: GPUTexture): GPUSharedTextureMemoryEndAccessState;
48
80
  }
49
81
  export {};
50
82
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../webgpu/src/types.ts"],"names":[],"mappings":"AAAA,KAAK,cAAc,GAAG,MAAM,CAAC;AAE7B,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,cAAc,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,MAAM,eAAe,GAAG,gBAAgB,GAAG;IAC/C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,UAAU,CAAC,WAAW,EAAE,QAAQ,GAAG,eAAe,GAAG,IAAI,CAAC;IAC1D,gBAAgB,EAAE,MAAM,YAAY,CAAC;CACtC;AAKD,MAAM,MAAM,sBAAsB,GAAG,OAAO,GAAG,MAAM,CAAC;AAkBtD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,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AAgB,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,IAAI,wBAAwB,CAAC;CACpC;AAGD,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,cAAc,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB;AAID,MAAM,WAAW,oCAAoC;IACnD,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,mBAAmB,EAAE,CAAC;CAC/B;AAQD,MAAM,WAAW,wBAAwB;IACvC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAMD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,UAAU,CAAC,EAAE,oBAAoB,GAAG,UAAU,CAAC;IAM7D,WAAW,CACT,OAAO,EAAE,UAAU,EACnB,WAAW,EAAE,OAAO,EACpB,MAAM,CAAC,EAAE,mBAAmB,EAAE,GAC7B,IAAI,CAAC;IAGR,SAAS,CAAC,OAAO,EAAE,UAAU,GAAG,oCAAoC,CAAC;CACtE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-wgpu",
3
- "version": "0.5.14",
3
+ "version": "0.5.15",
4
4
  "description": "Shim that re-exports react-native-webgpu under its previous package name",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",