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

@ -21,6 +21,7 @@ struct wlr_drm_interface {
extern const struct wlr_drm_interface atomic_iface;
extern const struct wlr_drm_interface legacy_iface;
extern const struct wlr_drm_interface libliftoff_iface;
bool drm_legacy_crtc_set_gamma(struct wlr_drm_backend *drm,
struct wlr_drm_crtc *crtc, size_t size, uint16_t *lut);