renderer/native: Get 'uses-monotonic' state from MetaKmsDevice
It's better suited to be handled by the MetaKmsDevice abstraction. This eliminates the last caller of drmGetCaps() from outside MetaKmsImplDevice. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1828>
This commit is contained in:
@ -127,6 +127,12 @@ meta_kms_device_prefers_shadow_buffer (MetaKmsDevice *device)
|
||||
return device->caps.prefers_shadow_buffer;
|
||||
}
|
||||
|
||||
gboolean
|
||||
meta_kms_device_uses_monotonic_clock (MetaKmsDevice *device)
|
||||
{
|
||||
return device->caps.uses_monotonic_clock;
|
||||
}
|
||||
|
||||
GList *
|
||||
meta_kms_device_get_connectors (MetaKmsDevice *device)
|
||||
{
|
||||
|
Reference in New Issue
Block a user