aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-24 10:04:15 +0100
committerSimon Ser <contact@emersion.fr>2022-11-30 14:14:02 +0100
commit444d94ef89b74500610f36c89a31f668e35a0f03 (patch)
treee34f6c9123bc34b1c6a83b548e76b8afe4e85f85 /include
parent0611c10909b17276bd633a4ee9a322995e9a3580 (diff)
linux-dmabuf-v1: add "_with_renderer" suffix to create() function
Make it clear this is a helper consuming a wlr_renderer. We'll add a lower-level create() function which doesn't take it in the next commit.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_linux_dmabuf_v1.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_linux_dmabuf_v1.h b/include/wlr/types/wlr_linux_dmabuf_v1.h
index 6b5f0d68..bfc024eb 100644
--- a/include/wlr/types/wlr_linux_dmabuf_v1.h
+++ b/include/wlr/types/wlr_linux_dmabuf_v1.h
@@ -72,9 +72,11 @@ struct wlr_linux_dmabuf_v1 {
};
/**
- * Create linux-dmabuf interface.
+ * Create the linux-dmabuf-unstable-v1 global.
+ *
+ * The default DMA-BUF feedback is initialized from the struct wlr_renderer.
*/
-struct wlr_linux_dmabuf_v1 *wlr_linux_dmabuf_v1_create(struct wl_display *display,
+struct wlr_linux_dmabuf_v1 *wlr_linux_dmabuf_v1_create_with_renderer(struct wl_display *display,
struct wlr_renderer *renderer);
/**