aboutsummaryrefslogtreecommitdiff
path: root/include/backend/backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend/backend.h')
-rw-r--r--include/backend/backend.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/backend/backend.h b/include/backend/backend.h
new file mode 100644
index 00000000..8c7440c3
--- /dev/null
+++ b/include/backend/backend.h
@@ -0,0 +1,13 @@
+#ifndef BACKEND_WLR_BACKEND_H
+#define BACKEND_WLR_BACKEND_H
+
+#include <wlr/backend.h>
+
+/**
+ * Get the supported buffer capabilities.
+ *
+ * This functions returns a bitfield of supported wlr_buffer_cap.
+ */
+uint32_t backend_get_buffer_caps(struct wlr_backend *backend);
+
+#endif