diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2024-08-29 23:40:19 +0200 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2024-08-29 23:40:19 +0200 |
| commit | 97e82900fe6dce859669a0c8a2b2ca619d7df801 (patch) | |
| tree | cda4c56a37511de491a4286c0c60a833abf44e00 /include | |
| parent | 86fe453535c405a1728c6b3e02a7057dedb8f499 (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, }; |
