aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_linux_dmabuf_v1.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_linux_dmabuf_v1.h b/include/wlr/types/wlr_linux_dmabuf_v1.h
index e56c904a..4ab1a78a 100644
--- a/include/wlr/types/wlr_linux_dmabuf_v1.h
+++ b/include/wlr/types/wlr_linux_dmabuf_v1.h
@@ -76,6 +76,15 @@ struct wlr_linux_dmabuf_v1 {
/**
* Create the linux-dmabuf-unstable-v1 global.
*
+ * Compositors using struct wlr_renderer should use
+ * wlr_linux_dmabuf_v1_create_with_renderer() instead.
+ */
+struct wlr_linux_dmabuf_v1 *wlr_linux_dmabuf_v1_create(struct wl_display *display,
+ uint32_t version, const struct wlr_linux_dmabuf_feedback_v1 *default_feedback);
+
+/**
+ * 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_with_renderer(struct wl_display *display,