5 ms·
(Obligatory:) Neat! Still, a lot of copying bits around, and more JS than one might hope for. Could you send a pointer to canvas into the C code and operate o
by drfuchs 4y ago
(Obligatory:) Neat! Still, a lot of copying bits around, and more JS than one might hope for. Could you send a pointer to canvas into the C code and operate on it in a direct, zero-copy way there?
- brrrrrm 4y agoUnfortunately, you cannot. https://stackoverflow.com/questions/42806037/modify-canvas-from-wasm https://stackoverflow.com/questions/42806037/modify-canvas-f...