aboutsummaryrefslogtreecommitdiff
path: root/include/render/wlr_renderer.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-16 22:26:44 +0100
committerSimon Ser <contact@emersion.fr>2021-01-16 22:52:26 +0100
commit2f1191461349f29c0c6b995ad98c2dde7927ba9b (patch)
tree1f11cfaecb3587a7acca1033ac9a4f5509f47eaf /include/render/wlr_renderer.h
parent32c30481d397d545b368ee0e328f485923c0e8c6 (diff)
render: introduce private wlr_renderer_autocreate_with_drm_fd
Diffstat (limited to 'include/render/wlr_renderer.h')
-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.