aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_linux_dmabuf_v1.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_linux_dmabuf_v1.h b/include/wlr/types/wlr_linux_dmabuf_v1.h
index 1d1a00eb..17e897c3 100644
--- a/include/wlr/types/wlr_linux_dmabuf_v1.h
+++ b/include/wlr/types/wlr_linux_dmabuf_v1.h
@@ -14,11 +14,8 @@
#include <wlr/render/dmabuf.h>
struct wlr_dmabuf_v1_buffer {
- struct wlr_renderer *renderer;
- struct wl_resource *buffer_resource;
- struct wl_resource *params_resource;
+ struct wl_resource *resource;
struct wlr_dmabuf_attributes attributes;
- bool has_modifier;
};
/**
@@ -34,6 +31,13 @@ bool wlr_dmabuf_v1_resource_is_buffer(struct wl_resource *buffer_resource);
struct wlr_dmabuf_v1_buffer *wlr_dmabuf_v1_buffer_from_buffer_resource(
struct wl_resource *buffer_resource);
+struct wlr_linux_buffer_params_v1 {
+ struct wl_resource *resource;
+ struct wlr_linux_dmabuf_v1 *linux_dmabuf;
+ struct wlr_dmabuf_attributes attributes;
+ bool has_modifier;
+};
+
/* the protocol interface */
struct wlr_linux_dmabuf_v1 {
struct wl_global *global;