-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Labels
javascriptPull requests that update Javascript codePull requests that update Javascript code
Description
WARNING This is a pre-mature optimization or gimmick at best.
We currently use Canvas2D to render individual frames. This is pretty basic but works.
All major browsers support WebGPU now. It has a copyExternalImageToTexture method that apparently copies a VideoFrame to a renderable texture. This apparently avoids a copy so it might be faster than Canvas2D but probably not.
The main benefit of WebGPU is being able to do other stuff, like run AI models on pixel data without copying to the CPU. Or rendering a person's face on a teapot. Or using shaders for gimmicky effects. None of this is really generic enough for a MoQ library but maybe somebody wants to have some fun.
Metadata
Metadata
Assignees
Labels
javascriptPull requests that update Javascript codePull requests that update Javascript code