From 81e979b228e7815a36454fc1516337dd73423417 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 1 May 2025 09:37:47 +0200 Subject: config: tweak.surface-bit-depth: add 16f-bit This adds support for 16-bit floating point surfaces, using the new PIXMAN_rgba_float16 image buffer type. This maps to WL_SHM_ABGR161616F. --- sixel.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sixel.c') diff --git a/sixel.c b/sixel.c index c5ef01a1..27ec8f7a 100644 --- a/sixel.c +++ b/sixel.c @@ -121,8 +121,9 @@ sixel_init(struct terminal *term, int p1, int p2, int p3) * blending, and b) use the same pixman format as the main * surfaces, for (hopefully) better performance. * - * For now, don't support 16-bit surfaces (too much sixel logic - * that assumes 32-bit pixels). + * For now, don't support 16-bit surfaces, neither integer nor + * floating point (too much sixel logic that assumes 32-bit + * pixels). */ if (shm_chain_bit_depth(term->render.chains.grid) >= SHM_BITS_10) { if (term->wl->shm_have_argb2101010 && term->wl->shm_have_xrgb2101010) { -- cgit v1.3