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:
Daniel Eklöf 2025-05-01 09:37:47 +02:00
parent 970e13db8d
commit 81e979b228
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
9 changed files with 64 additions and 10 deletions

View file

@ -149,6 +149,11 @@ if pixman.version().version_compare('>=0.46.0')
add_project_arguments('-DHAVE_PIXMAN_RGBA_16', language: 'c')
endif
# TODO: should be 0.47.0?
if pixman.version().version_compare('>=0.44.3')
add_project_arguments('-DHAVE_PIXMAN_RGBA_FLOAT16', language: 'c')
endif
tllist = dependency('tllist', version: '>=1.1.0', fallback: 'tllist')
fcft = dependency('fcft', version: ['>=3.3.1', '<4.0.0'], fallback: 'fcft')