aboutsummaryrefslogtreecommitdiff
path: root/sixel.c
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:07:06 +0000
commit81e979b228e7815a36454fc1516337dd73423417 (patch)
treed2d784682014f1ab71e1238acfdfb9c2bfdc09f9 /sixel.c
parentconfig: tweak.surface-bit-depth: add support for 16-bit surfaces (diff)
config: tweak.surface-bit-depth: add 16f-bitpixman-16f-2
This adds support for 16-bit floating point surfaces, using the new PIXMAN_rgba_float16 image buffer type. This maps to WL_SHM_ABGR161616F.
Diffstat (limited to 'sixel.c')
-rw-r--r--sixel.c5
1 files changed, 3 insertions, 2 deletions
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) {