Skia is the underlying graphics API for Canvas2D in Chromium.
This page compares this GLSL port of Skia's SKSL blending functions with the same code running in Chromium for the Canvas2D API. (there should be no difference)
Note: only works in Chromium based browsers. Firefox's blend-modes are totally whack.
WebGL: | |
Canvas2D: | |
Source: | |
Difference between built-in Canvas2D and WebGL shader (solid black is good): |
Note: the checkerboard is a CSS style to highlight the alpha channel and is not drawn by the canvases