aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_output.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/types/wlr_output.h b/include/types/wlr_output.h
new file mode 100644
index 00000000..cde64e3a
--- /dev/null
+++ b/include/types/wlr_output.h
@@ -0,0 +1,15 @@
+#ifndef TYPES_WLR_OUTPUT_H
+#define TYPES_WLR_OUTPUT_H
+
+#include <wlr/render/drm_format_set.h>
+#include <wlr/types/wlr_output.h>
+
+void output_pending_resolution(struct wlr_output *output, int *width,
+ int *height);
+
+struct wlr_drm_format *output_pick_format(struct wlr_output *output,
+ const struct wlr_drm_format_set *display_formats);
+void output_clear_back_buffer(struct wlr_output *output);
+bool output_ensure_buffer(struct wlr_output *output);
+
+#endif