diff options
author | Simon Ser <contact@emersion.fr> | 2021-08-11 10:00:07 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-08-12 10:22:19 +0200 |
commit | 93964012e66116e66a2efb2ef4d395f1141b9f13 (patch) | |
tree | faf3e72eb50da4f7015d72152539344b9748036d /include/wlr | |
parent | 20404ed8bb3ccad39e8c1458d9b1468741c0bc72 (diff) |
buffer: add addon set
This allows wlr_buffer users to extend it with tjeir own state.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_buffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index 5dc8271d..b4be3226 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -12,6 +12,7 @@ #include <pixman.h> #include <wayland-server-core.h> #include <wlr/render/dmabuf.h> +#include <wlr/util/addon.h> struct wlr_buffer; struct wlr_renderer; @@ -67,6 +68,8 @@ struct wlr_buffer { struct wl_signal destroy; struct wl_signal release; } events; + + struct wlr_addon_set addons; }; struct wlr_buffer_resource_interface { |