From 97e82900fe6dce859669a0c8a2b2ca619d7df801 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Thu, 29 Aug 2024 23:40:19 +0200 Subject: 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. --- include/sway/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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, }; -- cgit v1.2.3