This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
1 parent
a4ccca0
commit fb393dd
Showing
7 changed files
with
1,716 additions
and
1,698 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.