mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-15 08:21:03 -04:00
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.
This commit is contained in:
parent
970e13db8d
commit
81e979b228
9 changed files with 64 additions and 10 deletions
5
sixel.c
5
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue