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.
This commit is contained in:
Simon Ser 2021-10-22 23:10:47 +02:00 committed by Kenny Levinsen
parent a4ccca0834
commit fb393ddf84
7 changed files with 1716 additions and 1698 deletions

View file

@ -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