mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-05 04:06:11 -05:00
add prototype function for wlr_output_set_format() and add the wl_shm_format enum to the wlr_output struct
This commit is contained in:
parent
d91a464552
commit
9ade689ca0
1 changed files with 7 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ struct wlr_output {
|
|||
bool enabled;
|
||||
float scale;
|
||||
enum wl_output_subpixel subpixel;
|
||||
enum wl_shm_format format;
|
||||
enum wl_output_transform transform;
|
||||
enum wlr_output_adaptive_sync_status adaptive_sync_status;
|
||||
|
||||
|
|
@ -286,6 +287,12 @@ void wlr_output_set_scale(struct wlr_output *output, float scale);
|
|||
void wlr_output_set_subpixel(struct wlr_output *output,
|
||||
enum wl_output_subpixel subpixel);
|
||||
void wlr_output_set_description(struct wlr_output *output, const char *desc);
|
||||
/**
|
||||
* Set the color format mode for the output.
|
||||
*
|
||||
*/
|
||||
void wlr_output_set_format(struct wlr_output *output,
|
||||
enum wl_shm_format format);
|
||||
/**
|
||||
* Schedule a done event.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue