aboutsummaryrefslogtreecommitdiff
path: root/include/render.h
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2020-04-15 12:47:55 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2020-04-15 12:49:19 +0200
commitb02f660475fd6318fc387708c55c73ad4aebf062 (patch)
treea65725452be32e18ae9ba98be88dbeb1162e537e /include/render.h
parent2126ef07f861c47543662771eaa001dcdcc42dc0 (diff)
downloadriver-b02f660475fd6318fc387708c55c73ad4aebf062.tar.gz
river-b02f660475fd6318fc387708c55c73ad4aebf062.tar.xz
Rename render.[hc] to bindings.[hc]
Diffstat (limited to 'include/render.h')
-rw-r--r--include/render.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/include/render.h b/include/render.h
deleted file mode 100644
index 2da8f6e..0000000
--- a/include/render.h
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef RIVER_RENDER_H
-#define RIVER_RENDER_H
-
-#include <wlr/backend/session.h>
-/*
- * This header is needed since zig cannot yet translate flexible arrays.
- * See https://github.com/ziglang/zig/issues/4775
- */
-
-struct wlr_backend_impl;
-
-struct wlr_backend {
- const struct wlr_backend_impl *impl;
-
- struct {
- /** Raised when destroyed, passed the wlr_backend reference */
- struct wl_signal destroy;
- /** Raised when new inputs are added, passed the wlr_input_device */
- struct wl_signal new_input;
- /** Raised when new outputs are added, passed the wlr_output */
- struct wl_signal new_output;
- } events;
-};
-
-struct wlr_backend *river_wlr_backend_autocreate(struct wl_display *display);
-struct wlr_renderer *river_wlr_backend_get_renderer(struct wlr_backend *backend);
-bool river_wlr_backend_start(struct wlr_backend *backend);
-bool river_wlr_backend_is_multi(struct wlr_backend *backend);
-struct wlr_session *river_wlr_backend_get_session(struct wlr_backend *backend);
-struct wlr_backend *river_wlr_noop_backend_create(struct wl_display *display);
-struct wlr_output *river_wlr_noop_add_output(struct wlr_backend *backend);
-bool river_wlr_output_is_noop(struct wlr_output *output);
-
-#endif