summaryrefslogtreecommitdiff
path: root/include/render/fx_renderer/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/render/fx_renderer/util.h')
-rw-r--r--include/render/fx_renderer/util.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/render/fx_renderer/util.h b/include/render/fx_renderer/util.h
new file mode 100644
index 0000000..c0afc69
--- /dev/null
+++ b/include/render/fx_renderer/util.h
@@ -0,0 +1,11 @@
+#ifndef _FX_UTIL_H
+#define _FX_UTIL_H
+
+#include <stdbool.h>
+#include <stdlib.h>
+#include <wlr/backend/interface.h>
+
+bool open_preferred_drm_fd(struct wlr_backend *backend, int *drm_fd_ptr,
+ bool *own_drm_fd);
+
+#endif