aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/commands.h
diff options
context:
space:
mode:
authorLibravatar Manuel Stoeckl <code@mstoeckl.com>2021-09-02 21:45:23 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2021-11-23 15:51:54 +0100
commita23cdbbea145e0890627743d316c0ab6fe6c9c1f (patch)
tree586a3c020872b9caa131ebc0ec1896043603f9c9 /include/sway/commands.h
parentsway: create wlr_renderer and wlr_allocator (diff)
downloadsway-a23cdbbea145e0890627743d316c0ab6fe6c9c1f.tar.gz
sway-a23cdbbea145e0890627743d316c0ab6fe6c9c1f.tar.zst
sway-a23cdbbea145e0890627743d316c0ab6fe6c9c1f.zip
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.
Diffstat (limited to 'include/sway/commands.h')
-rw-r--r--include/sway/commands.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 4be40870..c6f5c2e0 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -284,6 +284,7 @@ sway_cmd output_cmd_max_render_time;
284sway_cmd output_cmd_mode; 284sway_cmd output_cmd_mode;
285sway_cmd output_cmd_modeline; 285sway_cmd output_cmd_modeline;
286sway_cmd output_cmd_position; 286sway_cmd output_cmd_position;
287sway_cmd output_cmd_render_bit_depth;
287sway_cmd output_cmd_scale; 288sway_cmd output_cmd_scale;
288sway_cmd output_cmd_scale_filter; 289sway_cmd output_cmd_scale_filter;
289sway_cmd output_cmd_subpixel; 290sway_cmd output_cmd_subpixel;