mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
logical-monitor: Pass output when iterating over CRTCs
While not currently used by any users, it'll be useful in future commits. https://gitlab.gnome.org/GNOME/mutter/issues/548 https://gitlab.gnome.org/GNOME/mutter/merge_requests/525
This commit is contained in:
parent
8932388dda
commit
bea7600471
@ -242,6 +242,7 @@ foreach_crtc (MetaMonitor *monitor,
|
||||
ForeachCrtcData *data = user_data;
|
||||
|
||||
data->func (data->logical_monitor,
|
||||
monitor_crtc_mode->output,
|
||||
meta_output_get_assigned_crtc (monitor_crtc_mode->output),
|
||||
data->user_data);
|
||||
|
||||
|
@ -63,6 +63,7 @@ G_DECLARE_FINAL_TYPE (MetaLogicalMonitor, meta_logical_monitor,
|
||||
GObject)
|
||||
|
||||
typedef void (* MetaLogicalMonitorCrtcFunc) (MetaLogicalMonitor *logical_monitor,
|
||||
MetaOutput *output,
|
||||
MetaCrtc *crtc,
|
||||
gpointer user_data);
|
||||
|
||||
|
@ -584,6 +584,7 @@ typedef struct _GetSupportedKmsFormatsData
|
||||
|
||||
static void
|
||||
get_supported_kms_formats_crtc_func (MetaLogicalMonitor *logical_monitor,
|
||||
MetaOutput *output,
|
||||
MetaCrtc *crtc,
|
||||
gpointer user_data)
|
||||
{
|
||||
@ -1827,6 +1828,7 @@ typedef struct _SetCrtcFbData
|
||||
|
||||
static void
|
||||
set_crtc_fb_cb (MetaLogicalMonitor *logical_monitor,
|
||||
MetaOutput *output,
|
||||
MetaCrtc *crtc,
|
||||
gpointer user_data)
|
||||
{
|
||||
@ -1937,6 +1939,7 @@ typedef struct _FlipCrtcData
|
||||
|
||||
static void
|
||||
flip_crtc (MetaLogicalMonitor *logical_monitor,
|
||||
MetaOutput *output,
|
||||
MetaCrtc *crtc,
|
||||
gpointer user_data)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user