Support of SkCanvas::drawMesh() with CPU backend

75 views
Skip to first unread message

Antoine Domon

unread,
Jan 8, 2025, 7:56:04 AMJan 8
to skia-discuss

Hi!


Is there any plan for supporting the SKMesh API with software rasterization? 


I've implemented some rasterization code that is device agnostic, and that should work both with a GPU backend in OpenGL, and CPU backend (with the default rasterizer). Everything works well except when drawing meshes, even when the vertex buffers are backed on CPU (which I know doesn't mean it can be drawn on CPU unfortunately...).


Do you know if there is any workaround to achieve that?

The documentation mentions that drawMesh() requires a GPU backend or SkSL to be compiled in, but I'm not sure what the latter mean.


Thanks

Antoine Domon

unread,
Sep 4, 2025, 10:30:43 AM (3 days ago) Sep 4
to skia-discuss
Is there absolutely no plan to support SkMesh with software rasterization?
Reply all
Reply to author
Forward
0 new messages