mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
compositor: use a single allocation for all synced states
This commit is contained in:
parent
1968ada213
commit
5b97d2507e
2 changed files with 72 additions and 57 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue