aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/wlcore
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/wlcore')
-rw-r--r--include/wlr/wlcore/wl_shm.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/wlr/wlcore/wl_shm.h b/include/wlr/wlcore/wl_shm.h
new file mode 100644
index 00000000..12c2ef78
--- /dev/null
+++ b/include/wlr/wlcore/wl_shm.h
@@ -0,0 +1,13 @@
+#ifndef _WLR_WLCORE_WL_SHM_H
+#define _WLR_WLCORE_WL_SHM_H
+#include <wayland-server-core.h>
+#include <wlr/render.h>
+
+struct wlr_wl_shm;
+
+struct wlr_wl_shm *wlr_wl_shm_init(struct wl_display *display);
+void wlr_wl_shm_add_format(struct wlr_wl_shm *shm, enum wl_shm_format format);
+void wlr_wl_shm_add_renderer_formats(
+ struct wlr_wl_shm *shm, struct wlr_renderer *renderer);
+
+#endif