Layers support comp-op and opacity properties. If one of these properties set, a new rendering buffer is associated with the layer and rendering goes to that buffer. When rendering of the layer and its sublayers is done, the associated buffer is composited into parent buffer (map or parent layer).
If neither comp-op nor opacity explicitly defined, rendering buffer is inherited from parent layer.
See following visual tests.

