mirror of
https://github.com/swaywm/sway.git
synced 2026-04-05 07:15:41 -04:00
Add 'output render_bit_depth [8|10]' command
This makes it possible to hint to the renderer and backends how many bits per channel the buffers that the compositor draws windows onto should have. Renderers and backends may deviate from this if they do not support the formats with higher bit depth.
This commit is contained in:
parent
5865af75cf
commit
a23cdbbea1
7 changed files with 92 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ static const struct cmd_handler output_handlers[] = {
|
|||
{ "modeline", output_cmd_modeline },
|
||||
{ "pos", output_cmd_position },
|
||||
{ "position", output_cmd_position },
|
||||
{ "render_bit_depth", output_cmd_render_bit_depth },
|
||||
{ "res", output_cmd_mode },
|
||||
{ "resolution", output_cmd_mode },
|
||||
{ "scale", output_cmd_scale },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue