From fb393ddf84dd5ad14c00afaa25ee81bc5b8eef14 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 22 Oct 2021 23:10:47 +0200 Subject: output: split into multiple files This organizes the wlr_output implementation into separate files. This avoids having a single mega-file with lots of unrelated parts and makes it more obvious what the interactions between all the parts are. No functional changes, just moving code around. --- include/types/wlr_output.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/types/wlr_output.h (limited to 'include') 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 +#include + +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 -- cgit v1.2.3