Closed
Description
A javascript interface for using layers within canvas.
Provide a beginLayer() and endLayer() functions that create and close layers for Canvas. These methods provide an alternative method for applying a filter, shadow or compositing to a set of drawn operations (as opposed to a single one), other than having to create a temporary canvas and then draw the temporary canvas into the intended canvas.
Working proposal: https://github.com/fserb/canvas2D/blob/master/spec/layers.md
(cc @whatwg/canvas)