2 ms·
> It would be amazing to have fast GPU-GPU transfer. Is it the case in Firefox that using texImage2D/texSubImage2D on a main thread context with a worker <canva
by ndesaulniers 11y ago
> It would be amazing to have fast GPU-GPU transfer. Is it the case in Firefox that using texImage2D/texSubImage2D on a main thread context with a worker <canvas> will result in a guaranteed GPU-GPU transfer? Or does that download the pixels to the CPU and re-upload them?
I didn't write the patch, but let me ask who did.
- jdashg 11y agotexImage(canvas) isn't gpu->gpu yet. texImage(video) is the only gpu->gpu right now. Because of the shape of the API though (support for arbitrary unpack format/type requests), depending on the underlying pixel formats, gpu->gpu blit isn't guaranteed. We're looking into ways to provide a reliable fast-path.