From 1de162f1c1ef0ea9a2b653bc29cd0e3e00386abd Mon Sep 17 00:00:00 2001 From: chirsz Date: Thu, 25 Apr 2024 12:28:16 +0800 Subject: feat(ext/webgpu): support `UnsafeWindowSurface` on wayland (#23423) --- cli/tsc/dts/lib.deno.unstable.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cli/tsc') 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, displayHandle: Deno.PointerValue, ); -- cgit v1.2.3