gfx: Paint in parallel in CPU rendering mode

r? @larsbergstrom @mrobinson 
Why is this change necessary for this PR?