monitor: Add getter for EDID info struct
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2164>
This commit is contained in:
parent
9ece224718
commit
b8ddf7ad8b
2 changed files with 12 additions and 0 deletions
|
@ -508,6 +508,15 @@ meta_monitor_get_serial (MetaMonitor *monitor)
|
||||||
return output_info->serial;
|
return output_info->serial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const MetaEdidInfo *
|
||||||
|
meta_monitor_get_edid_info (MetaMonitor *monitor)
|
||||||
|
{
|
||||||
|
const MetaOutputInfo *output_info =
|
||||||
|
meta_monitor_get_main_output_info (monitor);
|
||||||
|
|
||||||
|
return output_info->edid_info;
|
||||||
|
}
|
||||||
|
|
||||||
const char *
|
const char *
|
||||||
meta_monitor_get_edid_checksum_md5 (MetaMonitor *monitor)
|
meta_monitor_get_edid_checksum_md5 (MetaMonitor *monitor)
|
||||||
{
|
{
|
||||||
|
|
|
@ -157,6 +157,9 @@ const char * meta_monitor_get_product (MetaMonitor *monitor);
|
||||||
META_EXPORT_TEST
|
META_EXPORT_TEST
|
||||||
const char * meta_monitor_get_serial (MetaMonitor *monitor);
|
const char * meta_monitor_get_serial (MetaMonitor *monitor);
|
||||||
|
|
||||||
|
META_EXPORT_TEST
|
||||||
|
const MetaEdidInfo * meta_monitor_get_edid_info (MetaMonitor *monitor);
|
||||||
|
|
||||||
const char * meta_monitor_get_edid_checksum_md5 (MetaMonitor *monitor);
|
const char * meta_monitor_get_edid_checksum_md5 (MetaMonitor *monitor);
|
||||||
|
|
||||||
META_EXPORT_TEST
|
META_EXPORT_TEST
|
||||||
|
|
Loading…
Reference in a new issue