kms/impl-device: Add function to resume all devices
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3534>
This commit is contained in:
parent
ada4ac49fb
commit
9eb38b4107
2 changed files with 16 additions and 0 deletions
|
@ -84,6 +84,20 @@ meta_kms_impl_discard_pending_page_flips (MetaKmsImpl *impl)
|
|||
NULL);
|
||||
}
|
||||
|
||||
void
|
||||
meta_kms_impl_resume (MetaKmsImpl *impl)
|
||||
{
|
||||
MetaKmsImplPrivate *priv = meta_kms_impl_get_instance_private (impl);
|
||||
GList *l;
|
||||
|
||||
for (l = priv->impl_devices; l; l = l->next)
|
||||
{
|
||||
MetaKmsImplDevice *impl_device = l->data;
|
||||
|
||||
meta_kms_impl_device_resume (impl_device);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
meta_kms_impl_prepare_shutdown (MetaKmsImpl *impl)
|
||||
{
|
||||
|
|
|
@ -45,6 +45,8 @@ void meta_kms_impl_remove_impl_device (MetaKmsImpl *impl,
|
|||
|
||||
void meta_kms_impl_discard_pending_page_flips (MetaKmsImpl *impl);
|
||||
|
||||
void meta_kms_impl_resume (MetaKmsImpl *impl);
|
||||
|
||||
void meta_kms_impl_prepare_shutdown (MetaKmsImpl *impl);
|
||||
|
||||
void meta_kms_impl_notify_modes_set (MetaKmsImpl *impl);
|
||||
|
|
Loading…
Reference in a new issue