Strip out 16f-bit surfaces, for now

pixman 0.46.0 has been released, with support for 16-bit integer
images. Let's get that merged before 16f-bit.
This commit is contained in:
Daniel Eklöf 2025-05-03 06:56:16 +02:00
parent 2d23010c23
commit e2259e08a6
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
9 changed files with 13 additions and 64 deletions

View file

@ -121,8 +121,8 @@ 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 16f surfaces (too much sixel logic that
* assumes 32-bit pixels).
* For now, don't support 16-bit surfaces (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) {