From 2f1191461349f29c0c6b995ad98c2dde7927ba9b Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 16 Jan 2021 22:26:44 +0100 Subject: render: introduce private wlr_renderer_autocreate_with_drm_fd --- include/render/wlr_renderer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 @@ -3,6 +3,10 @@ #include +/** + * 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. * -- cgit v1.2.3