mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04:00
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.
This commit is contained in:
parent
7354b94f73
commit
970e13db8d
10 changed files with 101 additions and 25 deletions
|
|
@ -496,6 +496,8 @@ struct wayland {
|
|||
bool shm_have_xrgb2101010:1;
|
||||
bool shm_have_abgr2101010:1;
|
||||
bool shm_have_xbgr2101010:1;
|
||||
bool shm_have_abgr161616:1;
|
||||
bool shm_have_xbgr161616:1;
|
||||
};
|
||||
|
||||
struct wayland *wayl_init(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue