mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-03 09:01:40 -05:00
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:
parent
a4ccca0834
commit
fb393ddf84
7 changed files with 1716 additions and 1698 deletions
15
include/types/wlr_output.h
Normal file
15
include/types/wlr_output.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue