monitor: Add API to list supported color modes
Available modes are 'default', which is always added, and BT.2100, which is added if the BT.2020 color space, and the PQ transfer function, is supported by the output. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4192>
This commit is contained in:
@ -355,4 +355,6 @@ void meta_monitor_set_for_lease (MetaMonitor *monitor,
|
||||
META_EXPORT_TEST
|
||||
gboolean meta_monitor_is_for_lease (MetaMonitor *monitor);
|
||||
|
||||
GList * meta_monitor_get_supported_color_modes (MetaMonitor *monitor);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MetaMonitorSpec, meta_monitor_spec_free)
|
||||
|
Reference in New Issue
Block a user