mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
output-layer: add wlr_output_layer_state.damage
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3593
This commit is contained in:
parent
6eff8651d3
commit
13f096b0ac
1 changed files with 3 additions and 0 deletions
|
@ -68,6 +68,9 @@ struct wlr_output_layer_state {
|
|||
struct wlr_fbox src_box;
|
||||
// Destination box in output-buffer-local coordinates
|
||||
struct wlr_box dst_box;
|
||||
// Damaged region since last commit in buffer-local coordinates. Leave NULL
|
||||
// to damage the whole buffer.
|
||||
const pixman_region32_t *damage;
|
||||
|
||||
// Populated by the backend after wlr_output_test() and wlr_output_commit(),
|
||||
// indicates whether the backend has acknowledged and will take care of
|
||||
|
|
Loading…
Reference in a new issue