denoland / deno

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

WebGPU: Implement copyExternalImageToTexture #23576

Open chirsz-ever opened 2 months ago

chirsz-ever commented 2 months ago

MDN: https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/copyExternalImageToTexture

W3C: https://www.w3.org/TR/webgpu/#dom-gpuqueue-copyexternalimagetotexture

chirsz-ever commented 2 months ago

I found something about the colorSpaceConversion option.

https://chromium.googlesource.com/chromium/src/+/41eca5edd48d16bf3417840e401c302af9c82e3a/third_party/WebKit/LayoutTests/fast/canvas/color-space