gfx: Paint in parallel in CPU rendering mode

r? @larsbergstrom @mrobinson