compositor: use a single allocation for all synced states

This commit is contained in:
Simon Ser 2023-12-12 18:49:56 +01:00
parent 1968ada213
commit 5b97d2507e
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 {