gl-renderer: Batch draw calls
A paint node of n
rects damaged by m
quads emits n * m
OpenGL draw calls. In order to reduce API overhead, this MR packs each clipped polygon into a mesh so that a single draw call can be emitted per paint node.
Edited by Loïc Molinari