mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
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 034d02f8a5)
This commit is contained in:
parent
3264696469
commit
12796fb0b3
4 changed files with 28 additions and 11 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue