mirror of
https://github.com/swaywm/sway.git
synced 2026-03-21 05:33:56 -04:00
Add support for HDR10 output
This commit is contained in:
parent
c7d7d56f61
commit
bac8c0f4d0
11 changed files with 139 additions and 23 deletions
|
|
@ -261,7 +261,7 @@ enum scale_filter_mode {
|
|||
};
|
||||
|
||||
enum render_bit_depth {
|
||||
RENDER_BIT_DEPTH_DEFAULT, // the default is currently 8
|
||||
RENDER_BIT_DEPTH_DEFAULT, // the default is currently 8 for SDR, 10 for HDR
|
||||
RENDER_BIT_DEPTH_6,
|
||||
RENDER_BIT_DEPTH_8,
|
||||
RENDER_BIT_DEPTH_10,
|
||||
|
|
@ -291,6 +291,7 @@ struct output_config {
|
|||
bool set_color_transform;
|
||||
struct wlr_color_transform *color_transform;
|
||||
int allow_tearing;
|
||||
int hdr;
|
||||
|
||||
char *background;
|
||||
char *background_option;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue