2 ms·
Actually, on Firefox, the 2D canvas is drawn using skia, a CPU vector renderer. Think that Chrome does the same, but not sure. The WebGL canvas uses the GPU har
by est31 8y ago
Actually, on Firefox, the 2D canvas is drawn using skia, a CPU vector renderer. Think that Chrome does the same, but not sure. The WebGL canvas uses the GPU hardware though.
- kevingadd 8y agoFirefox and Chrome have been using hardware acceleration for Skia for ages. Even if you have HW acceleration shut off, Chrome is typically using SwiftShader to rasterize which basically emulates a GPU instead of doing traditional CPU rasterization. If you switch off hw accel in Chrome and Firefox your canvas performance will tank.
- est31 8y agoOh TIL that Skia has an OpenGL backend. I guess I was wrong then when saying Skia is a CPU renderer.