How Skia can use GPU-acceleration although it is 2d graphics engine ?

109 views
Skip to first unread message

GB Lee

unread,
Aug 7, 2024, 8:35:02 AM8/7/24
to skia-discuss
Hi. It might be silly question but I cannot found answer about this nowhere.

So far as I know, gpu-accelerated graphics are commonly used for 3d graphics. more technically, vertex shader, fragment shader, and compute shaders are used. these are optimized for parallel computations as I know.

But, Is there room to use parallel computations for 2d graphics ? Where can I get the basic knowledge related to this?

Also, figma.com use skia engine for 2d rendering (as I know) using wasm (emscripten). but Chromium-releated browsers also use skia engine for 2d rendering. If I use webgl, it is ultimately rendered based on skia. 
Is there any additional benefit to using wasm-based skia in such a scenario?


Reply all
Reply to author
Forward
0 new messages