aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-08-29 23:40:19 +0200
committerSimon Ser <contact@emersion.fr>2024-09-20 19:48:30 +0200
commit12796fb0b364dcd43a5a500a92b9fb1ab653fb8c (patch)
tree0c37107cb50134976f1a9dfb55bbc99dbac0f216 /include
parent3264696469a89562ada73640957cd90121102bf8 (diff)
config/output: Add support for 6-bit render fmt
GUD devices uses RGB565 by default for performance reasons. Allow specifying render_bit_depth 6 to pick this format. The definition works out if you consider the maximum number of bits per channel instead of the average. (cherry picked from commit 034d02f8a5099ad1283ce3bd1ced524a17f8ba2f)
Diffstat (limited to 'include')
-rw-r--r--include/sway/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index d9f56157..2f5a17fa 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -262,6 +262,7 @@ enum scale_filter_mode {
enum render_bit_depth {
RENDER_BIT_DEPTH_DEFAULT, // the default is currently 8
+ RENDER_BIT_DEPTH_6,
RENDER_BIT_DEPTH_8,
RENDER_BIT_DEPTH_10,
};