tests/monitor/default-scale: Add a couple of more test cases

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2880>
This commit is contained in:
Jonas Ådahl 2023-03-02 18:36:11 +01:00 committed by Marge Bot
parent d03dce4378
commit 6c1274b75e

View File

@ -9286,6 +9286,24 @@ meta_test_monitor_calculate_mode_scale (void)
.exp = 1.5, .exp = 1.5,
.exp_nofrac = 1.0, .exp_nofrac = 1.0,
}, },
{
.name = "Dell XPS 9320",
.width = 3840,
.height = 2400,
.width_mm = 290,
.height_mm = 180,
.exp = 2.5,
.exp_nofrac = 2.0,
},
{
.name = "Lenovo ThinkPad X1 Yoga Gen 6",
.width = 3840,
.height = 2400,
.width_mm = 300,
.height_mm = 190,
.exp = 2.5,
.exp_nofrac = 2.0,
},
{ {
.name = "Generic 23\" 1080p", .name = "Generic 23\" 1080p",
.width = 1920, .width = 1920,