backends: Move monitor_transform_from_orientation to orientation manager

This removes the dependency on MetaOrientation from MetaMonitorTransform
which makes it possible to move MetaMonitorTransform to Mtk.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3930>
This commit is contained in:
Sebastian Wick
2024-08-07 20:51:00 +02:00
committed by Marge Bot
parent f88b54502c
commit 54b2abfe1b
7 changed files with 26 additions and 24 deletions

View File

@ -4086,7 +4086,7 @@ check_monitor_configuration_per_orientation (MonitorTestCase *test_case,
MonitorTestCaseSetup *setup = &test_case->setup;
int i = 0;
transform = meta_monitor_transform_from_orientation (orientation);
transform = meta_orientation_to_transform (orientation);
output_transform = setup->outputs[monitor_index].panel_orientation_transform;
expect.logical_monitors[monitor_index].transform =
meta_monitor_transform_transform (transform,