crtc-kms: Get rid of unused is_transform_handled

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3512>
This commit is contained in:
Sebastian Wick 2024-01-10 14:49:36 +01:00 committed by Robert Mader
parent d6dc403fa8
commit 84070b4a3f

View File

@ -326,15 +326,6 @@ meta_crtc_kms_set_config (MetaCrtc *crtc,
crtc_kms->assigned_cursor_plane = kms_assignment->cursor_plane;
}
static gboolean
is_transform_handled (MetaCrtcKms *crtc_kms,
MetaMonitorTransform transform)
{
return meta_kms_plane_is_transform_handled (crtc_kms->assigned_primary_plane,
transform);
}
static gboolean
meta_crtc_kms_is_transform_handled (MetaCrtcNative *crtc_native,
MetaMonitorTransform transform)
@ -343,7 +334,8 @@ meta_crtc_kms_is_transform_handled (MetaCrtcNative *crtc_native,
g_return_val_if_fail (crtc_kms->assigned_primary_plane, FALSE);
return is_transform_handled (crtc_kms, transform);
return meta_kms_plane_is_transform_handled (crtc_kms->assigned_primary_plane,
transform);
}
static gboolean