wip: backend/drm: add libliftoff interface

TODO:

- Make it work on multi-output setups
- Make it handle VRR and gamma
This commit is contained in:
Simon Ser 2021-08-09 15:19:06 +02:00
parent 937204d769
commit f7276aaf2f
6 changed files with 263 additions and 1 deletions

View file

@ -1,12 +1,16 @@
libliftoff = dependency('libliftoff', version: '>=0.2.0', fallback: ['libliftoff', 'liftoff'])
wlr_files += files(
'atomic.c',
'backend.c',
'cvt.c',
'drm.c',
'legacy.c',
'libliftoff.c',
'properties.c',
'renderer.c',
'util.c',
)
features += { 'drm-backend': true }
wlr_deps += libliftoff