monitor: Add API to check color transform support
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2164>
This commit is contained in:
parent
083b788c74
commit
7a242ff1a1
@ -353,6 +353,15 @@ meta_monitor_supports_underscanning (MetaMonitor *monitor)
|
||||
return output_info->supports_underscanning;
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_monitor_supports_color_transform (MetaMonitor *monitor)
|
||||
{
|
||||
const MetaOutputInfo *output_info =
|
||||
meta_monitor_get_main_output_info (monitor);
|
||||
|
||||
return output_info->supports_color_transform;
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_monitor_is_underscanning (MetaMonitor *monitor)
|
||||
{
|
||||
|
@ -116,6 +116,8 @@ gboolean meta_monitor_is_primary (MetaMonitor *monitor);
|
||||
|
||||
gboolean meta_monitor_supports_underscanning (MetaMonitor *monitor);
|
||||
|
||||
gboolean meta_monitor_supports_color_transform (MetaMonitor *monitor);
|
||||
|
||||
gboolean meta_monitor_is_underscanning (MetaMonitor *monitor);
|
||||
|
||||
gboolean meta_monitor_get_max_bpc (MetaMonitor *monitor,
|
||||
|
Loading…
Reference in New Issue
Block a user