denoland / deno

A modern runtime for JavaScript and TypeScript.
https://deno.com
MIT License
93.98k stars 5.23k forks source link

WebGPU: Deno's GPUCanvasConfiguration is not standard #23508

Open chirsz-ever opened 4 months ago

chirsz-ever commented 4 months ago

Version: Deno 1.42.4

Now the argument of GPUCanvasContext.configure require width and height members, but the standard do not.

reference

lucacasonato commented 3 months ago

I talked to @littledivy, and I think we should remove width and height from this method, and add them as required arguments for Deno.UnsafeWindowSurface.