mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-20 06:46:26 -04:00
config: tweak.surface-bit-depth: add 16-bit
This adds support for 16-bit (integer) surfaces. The corresponding pixman type (PIXMAN_a16b16g16r16) was added in 0.46.0. If the new 16-bit type is requested, but not supported by the compositor, fallback to 16f-bit, and if that fails, 10-bit (and finally 8-bit).
This commit is contained in:
parent
429a922723
commit
5dbf5ea89d
8 changed files with 60 additions and 16 deletions
|
|
@ -150,6 +150,11 @@ if pixman.version().version_compare('>=0.44.3')
|
|||
add_project_arguments('-DHAVE_PIXMAN_RGBA_FLOAT16', language: 'c')
|
||||
endif
|
||||
|
||||
# TODO: 0.46.0
|
||||
if pixman.version().version_compare('>=0.44.3')
|
||||
add_project_arguments('-DHAVE_PIXMAN_RGBA_16', language: 'c')
|
||||
endif
|
||||
|
||||
tllist = dependency('tllist', version: '>=1.1.0', fallback: 'tllist')
|
||||
fcft = dependency('fcft', version: ['>=3.3.1', '<4.0.0'], fallback: 'fcft')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue