summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2024-08-29 23:40:19 +0200
committerKenny Levinsen <kl@kl.wtf>2024-09-20 14:08:04 +0200
commit034d02f8a5099ad1283ce3bd1ced524a17f8ba2f (patch)
treecda4c56a37511de491a4286c0c60a833abf44e00 /include
parent785a459a55d8b55b4bed1fdc55b04c32be5b450c (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.
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 13f576b0..3cd59722 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,
};