I ported the Skia (the underlying graphics API for Canvas2D in Chromium) blending functions to WebGL so I can composite using blending in WebGL in modV (eventually).
This has taken me about 5 years to actually go find the Skia code and port it... π
(also here: https://www.shadertoy.com/view/X3G3RG)
#glsl #sksl #canvas2d #chromium #modV #javascript #port #skia