diff --git a/src/backends/meta-renderer.c b/src/backends/meta-renderer.c index 1a7a40b7f..992ee0756 100644 --- a/src/backends/meta-renderer.c +++ b/src/backends/meta-renderer.c @@ -94,6 +94,7 @@ meta_renderer_create_cogl_renderer (MetaRenderer *renderer) static MetaRendererView * meta_renderer_create_view (MetaRenderer *renderer, MetaLogicalMonitor *logical_monitor, + MetaMonitor *monitor, MetaOutput *output, MetaCrtc *crtc, GError **error) @@ -102,6 +103,7 @@ meta_renderer_create_view (MetaRenderer *renderer, view = META_RENDERER_GET_CLASS (renderer)->create_view (renderer, logical_monitor, + monitor, output, crtc, error); @@ -138,7 +140,12 @@ create_crtc_view (MetaLogicalMonitor *logical_monitor, MetaRendererView *view; g_autoptr (GError) error = NULL; - view = meta_renderer_create_view (renderer, logical_monitor, output, crtc, &error); + view = meta_renderer_create_view (renderer, + logical_monitor, + monitor, + output, + crtc, + &error); if (!view) { g_warning ("Failed to create view for %s on %s: %s", diff --git a/src/backends/meta-renderer.h b/src/backends/meta-renderer.h index 2e3e7cdae..4a6e617dc 100644 --- a/src/backends/meta-renderer.h +++ b/src/backends/meta-renderer.h @@ -40,6 +40,7 @@ struct _MetaRendererClass CoglRenderer * (* create_cogl_renderer) (MetaRenderer *renderer); MetaRendererView * (* create_view) (MetaRenderer *renderer, MetaLogicalMonitor *logical_monitor, + MetaMonitor *monitor, MetaOutput *output, MetaCrtc *crtc, GError **error); diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c index 4e849e9e2..94402a4d8 100644 --- a/src/backends/native/meta-renderer-native.c +++ b/src/backends/native/meta-renderer-native.c @@ -1402,6 +1402,7 @@ get_transfer_function_from_output (MetaOutput *output) static MetaRendererView * meta_renderer_native_create_view (MetaRenderer *renderer, MetaLogicalMonitor *logical_monitor, + MetaMonitor *monitor, MetaOutput *output, MetaCrtc *crtc, GError **error) diff --git a/src/backends/x11/nested/meta-renderer-x11-nested.c b/src/backends/x11/nested/meta-renderer-x11-nested.c index 9247130f7..583c98e7b 100644 --- a/src/backends/x11/nested/meta-renderer-x11-nested.c +++ b/src/backends/x11/nested/meta-renderer-x11-nested.c @@ -63,6 +63,7 @@ create_offscreen (CoglContext *cogl_context, static MetaRendererView * meta_renderer_x11_nested_create_view (MetaRenderer *renderer, MetaLogicalMonitor *logical_monitor, + MetaMonitor *monitor, MetaOutput *output, MetaCrtc *crtc, GError **error)