diff options
| author | Kenny Levinsen <kl@kl.wtf> | 2024-08-29 23:40:19 +0200 |
|---|---|---|
| committer | Kenny Levinsen <kl@kl.wtf> | 2024-09-20 14:08:04 +0200 |
| commit | 034d02f8a5099ad1283ce3bd1ced524a17f8ba2f (patch) | |
| tree | cda4c56a37511de491a4286c0c60a833abf44e00 /include | |
| parent | 785a459a55d8b55b4bed1fdc55b04c32be5b450c (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.h | 1 |
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, }; |
