DisplayConfig: Add support for interlaced modes

Differentiate between non-interlaced and interlaced modes. This is done
by appending an "i" after the resolution part of the mode ID, and
adding a 'is-interlaced' (b) property to the mode properties.

https://bugzilla.gnome.org/show_bug.cgi?id=765011
This commit is contained in:
Jonas Ådahl
2017-06-14 14:41:13 +08:00
parent 85638c1b19
commit 49c5228655
7 changed files with 93 additions and 16 deletions

View File

@ -36,6 +36,7 @@ typedef struct _MonitorTestCaseMonitorMode
int width;
int height;
float refresh_rate;
MetaCrtcModeFlag flags;
} MonitorTestCaseMonitorMode;
typedef struct _MonitorTestCaseMonitor