mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
output-damage: stop relying on output pending state on commit
References: https://github.com/swaywm/wlroots/issues/2098
This commit is contained in:
parent
afdf4dc890
commit
1fb9535e99
2 changed files with 19 additions and 1 deletions
|
|
@ -42,6 +42,8 @@ struct wlr_output_damage {
|
|||
pixman_region32_t previous[WLR_OUTPUT_DAMAGE_PREVIOUS_LEN];
|
||||
size_t previous_idx;
|
||||
|
||||
enum wlr_output_state_buffer_type pending_buffer_type;
|
||||
|
||||
struct {
|
||||
struct wl_signal frame;
|
||||
struct wl_signal destroy;
|
||||
|
|
@ -52,6 +54,7 @@ struct wlr_output_damage {
|
|||
struct wl_listener output_needs_frame;
|
||||
struct wl_listener output_damage;
|
||||
struct wl_listener output_frame;
|
||||
struct wl_listener output_precommit;
|
||||
struct wl_listener output_commit;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue