samizdatco / skia-canvas

A GPU-accelerated 2D graphics environment for Node.js
MIT License
1.67k stars 63 forks source link

Efficiency Concerns with Rendering Process in Skia-Canvas: Using PictureRecorder before Drawing on Surface #156

Open 13661172102 opened 8 months ago

13661172102 commented 8 months ago

Why do we render to a PictureRecorder first and then draw it onto a surface using draw_picture in our rendering process? This approach seems inefficient. I've raised this as an issue for skia-canvas.