aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/render/wlr_renderer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/render/wlr_renderer.h b/include/render/wlr_renderer.h
index 9e41f86f..dab9fd12 100644
--- a/include/render/wlr_renderer.h
+++ b/include/render/wlr_renderer.h
@@ -4,6 +4,10 @@
#include <wlr/render/wlr_renderer.h>
/**
+ * Automatically select and create a renderer suitable for the DRM FD.
+ */
+struct wlr_renderer *wlr_renderer_autocreate_with_drm_fd(int drm_fd);
+/**
* Bind a buffer to the renderer.
*
* All subsequent rendering operations will operate on the supplied buffer.