diff options
author | chirsz <chirsz-ever@outlook.com> | 2024-04-25 12:28:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 09:58:16 +0530 |
commit | 1de162f1c1ef0ea9a2b653bc29cd0e3e00386abd (patch) | |
tree | a72a8346a158f9095214495226d827e1c60e8765 /cli/tsc/dts/lib.deno.unstable.d.ts | |
parent | f3284529f1689f1294929eb17c55ddf088f3d3bb (diff) |
feat(ext/webgpu): support `UnsafeWindowSurface` on wayland (#23423)
Diffstat (limited to 'cli/tsc/dts/lib.deno.unstable.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.deno.unstable.d.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index 0c1ab8af0..0c20ec1b6 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -776,12 +776,13 @@ declare namespace Deno { * | "cocoa" (macOS) | `NSView*` | - | * | "win32" (Windows) | `HWND` | `HINSTANCE` | * | "x11" (Linux) | Xlib `Window` | Xlib `Display*` | + * | "wayland" (Linux) | `wl_surface*` | `wl_display*` | * * @category WebGPU */ export class UnsafeWindowSurface { constructor( - system: "cocoa" | "win32" | "x11", + system: "cocoa" | "win32" | "x11" | "wayland", windowHandle: Deno.PointerValue<unknown>, displayHandle: Deno.PointerValue<unknown>, ); |