aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_single_pixel_buffer_v1.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_single_pixel_buffer_v1.h b/include/wlr/types/wlr_single_pixel_buffer_v1.h
new file mode 100644
index 00000000..3eba546a
--- /dev/null
+++ b/include/wlr/types/wlr_single_pixel_buffer_v1.h
@@ -0,0 +1,19 @@
+/*
+ * This an unstable interface of wlroots. No guarantees are made regarding the
+ * future consistency of this API.
+ */
+#ifndef WLR_USE_UNSTABLE
+#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
+#endif
+
+#ifndef WLR_TYPES_WLR_SINGLE_PIXEL_BUFFER_V1
+#define WLR_TYPES_WLR_SINGLE_PIXEL_BUFFER_V1
+
+#include <wayland-server-core.h>
+
+struct wlr_single_pixel_buffer_manager_v1;
+
+struct wlr_single_pixel_buffer_manager_v1 *wlr_single_pixel_buffer_manager_v1_create(
+ struct wl_display *display);
+
+#endif