Merge "Implement drawLayers() with buffer source."