aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-05-01 07:37:47 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-05-03 07:04:15 +0000
commit970e13db8deebf6c7542c7aede4f34703fa86769 (patch)
tree04db96b02d5a6b2c0c7df99cf3f896054b90c56a /config.h
parentosc: restore configured alpha if OSC-11 has no alpha value (diff)
config: tweak.surface-bit-depth: add support for 16-bit surfaces
This adds supports for 16-bit surfaces, using the new PIXMAN_a16b16g16r16 buffer format. This maps to WL_SHM_FORMAT_ABGR16161616 (little-endian). Use the new 16-bit surfaces by default, when gamma-correct-blending=yes.
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h b/config.h
index 80081906..197b67cd 100644
--- a/config.h
+++ b/config.h
@@ -198,7 +198,8 @@ enum which_color_theme {
enum shm_bit_depth {
SHM_BITS_AUTO,
SHM_BITS_8,
- SHM_BITS_10
+ SHM_BITS_10,
+ SHM_BITS_16,
};
struct config {