Allow leasing desktop displays

Apps such as Gamescope eventually want to offer a DRM lease option to use planes and handle all of getting to the screen themselves.

This implements logic to allow leasing of desktop displays
This commit is contained in:
Joshua Ashton 2022-06-16 05:56:38 +00:00
parent 5626c20c44
commit f9e9912256
3 changed files with 37 additions and 17 deletions

View file

@ -240,6 +240,8 @@ struct output {
struct wl_listener destroy;
struct wl_listener frame;
bool leased;
};
#undef LAB_NR_LAYERS