Skip to main content

read_damage

Function read_damage 

Source
unsafe fn read_damage(
    buf: &SpaBuffer,
    width: i32,
    height: i32,
) -> Vec<Rectangle<i32, Physical>>
Expand description

The damage regions of a buffer, or the whole frame when the compositor sent none.