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:
parent
a76708350f
commit
8d5beea246
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,7 @@
|
||||||
#ifdef HAVE_NATIVE_BACKEND
|
#ifdef HAVE_NATIVE_BACKEND
|
||||||
#include "backends/native/meta-frame-native.h"
|
#include "backends/native/meta-frame-native.h"
|
||||||
#include "backends/native/meta-renderer-native.h"
|
#include "backends/native/meta-renderer-native.h"
|
||||||
|
#include "wayland/meta-wayland-drm-lease.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum
|
enum
|
||||||
|
@ -876,6 +877,10 @@ meta_wayland_compositor_new (MetaContext *context)
|
||||||
meta_wayland_drm_syncobj_init (compositor);
|
meta_wayland_drm_syncobj_init (compositor);
|
||||||
meta_wayland_init_xdg_wm_dialog (compositor);
|
meta_wayland_init_xdg_wm_dialog (compositor);
|
||||||
|
|
||||||
|
#ifdef HAVE_NATIVE_BACKEND
|
||||||
|
meta_wayland_drm_lease_manager_init (compositor);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_WAYLAND_EGLSTREAM
|
#ifdef HAVE_WAYLAND_EGLSTREAM
|
||||||
{
|
{
|
||||||
gboolean should_enable_eglstream_controller = TRUE;
|
gboolean should_enable_eglstream_controller = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue