1
0
Fork 0

wayland: Add DRM lease manager

Now that all the required pieces to support DRM lease are in place,
expose the protocol.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3746>
This commit is contained in:
Jonas Ådahl 2024-05-09 11:39:00 +02:00 committed by Marge Bot
parent a76708350f
commit 8d5beea246

View file

@ -70,6 +70,7 @@
#ifdef HAVE_NATIVE_BACKEND
#include "backends/native/meta-frame-native.h"
#include "backends/native/meta-renderer-native.h"
#include "wayland/meta-wayland-drm-lease.h"
#endif
enum
@ -876,6 +877,10 @@ meta_wayland_compositor_new (MetaContext *context)
meta_wayland_drm_syncobj_init (compositor);
meta_wayland_init_xdg_wm_dialog (compositor);
#ifdef HAVE_NATIVE_BACKEND
meta_wayland_drm_lease_manager_init (compositor);
#endif
#ifdef HAVE_WAYLAND_EGLSTREAM
{
gboolean should_enable_eglstream_controller = TRUE;