Take layer-local damage regions
Using the global coordinate system when specifying output layer damage regions would be very confusing. In order to make the coordinate system comprehensible, use the layer-local coordinate system.
The infinite region is used to tell the Compositor when it needs to repaint the entire layer.
Edited by Vlad Zahorodnii