monitor: Add function meta_monitor_get_max_bpc()
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2412>
This commit is contained in:
parent
6ff0d600c3
commit
a907cef905
@ -358,6 +358,17 @@ meta_monitor_is_underscanning (MetaMonitor *monitor)
|
|||||||
return meta_output_is_underscanning (output);
|
return meta_output_is_underscanning (output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gboolean
|
||||||
|
meta_monitor_get_max_bpc (MetaMonitor *monitor,
|
||||||
|
unsigned int *max_bpc)
|
||||||
|
{
|
||||||
|
MetaOutput *output;
|
||||||
|
|
||||||
|
output = meta_monitor_get_main_output (monitor);
|
||||||
|
|
||||||
|
return meta_output_get_max_bpc (output, max_bpc);
|
||||||
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
meta_monitor_is_laptop_panel (MetaMonitor *monitor)
|
meta_monitor_is_laptop_panel (MetaMonitor *monitor)
|
||||||
{
|
{
|
||||||
|
@ -118,6 +118,9 @@ gboolean meta_monitor_supports_underscanning (MetaMonitor *monitor);
|
|||||||
|
|
||||||
gboolean meta_monitor_is_underscanning (MetaMonitor *monitor);
|
gboolean meta_monitor_is_underscanning (MetaMonitor *monitor);
|
||||||
|
|
||||||
|
gboolean meta_monitor_get_max_bpc (MetaMonitor *monitor,
|
||||||
|
unsigned int *max_bpc);
|
||||||
|
|
||||||
gboolean meta_monitor_is_laptop_panel (MetaMonitor *monitor);
|
gboolean meta_monitor_is_laptop_panel (MetaMonitor *monitor);
|
||||||
|
|
||||||
gboolean meta_monitor_is_same_as (MetaMonitor *monitor,
|
gboolean meta_monitor_is_same_as (MetaMonitor *monitor,
|
||||||
|
Loading…
Reference in New Issue
Block a user