Merge branch 'surface-synced-single-alloc' into 'master'

compositor: use a single allocation for all synced states

See merge request wlroots/wlroots!4495
This commit is contained in:
Simon Ser 2024-03-14 13:31:31 +00:00
commit 925bb569f9
2 changed files with 72 additions and 57 deletions

View file

@ -72,6 +72,8 @@ struct wlr_surface_state {
// Sync'ed object states, one per struct wlr_surface_synced
struct wl_array synced; // void *
// Buffer for synced states
void *synced_buffer;
};
struct wlr_surface_role {