render: introduce blend mode
Allow callers to pick the blend mode when rendering a rect. The "none" mode can be used to disable blending and clear rects.
Allow callers to pick the blend mode when rendering a rect. The "none" mode can be used to disable blending and clear rects.