renderer: Pass through the monitor to the create_view vfunc

We will want to use the monitor in a later commit and going there from a
logical monitor or output is ambiguous.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3930>
This commit is contained in:
Sebastian Wick
2024-07-05 19:09:57 +02:00
committed by Marge Bot
parent af83233be3
commit ccede14a09
4 changed files with 11 additions and 1 deletions

View File

@ -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)