unsafe fn read_damage( buf: &SpaBuffer, width: i32, height: i32, ) -> Vec<Rectangle<i32, Physical>>
The damage regions of a buffer, or the whole frame when the compositor sent none.