Does swiftshader support multi-threaded rendering?

Skip to first unread message

Kevin Qi

Feb 24, 2021, 3:54:35 AMFeb 24
to swiftshader
Hello All,

I use swiftshader to provide an OpenGL environment for skia's GPU rendering mode. I found that rendering time is not significantly reduced when multi-threaded rendering. There is a problem of thread waiting when checking stack information with breakpoint debugging , as shown in the figure. Rendering time is reduced when multi-process rendering. It is in line with expectations. Does swiftshader support multi-threaded rendering?




Nicolas Capens

Feb 24, 2021, 9:38:42 AMFeb 24
to Kevin Qi, swiftshader
Hi Kevin,

Thanks for your interest in SwiftShader. First things first, I notice that you're using SwiftShader's OpenGL ES build. Please note that this is deprecated and will be removed soon. We are replacing it with "SwANGLE", a combination of the ANGLE project and SwiftShader's new Vulkan implementation. Skia will integrate support for SwANGLE as part of

That said, SwiftShader does not currently perform multi-threaded compilation of shaders, but does execute them on multiple threads.

Kind regards,

You received this message because you are subscribed to the Google Groups "swiftshader" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages