[mutter] native: Remove left-over flip waiting functionality
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] native: Remove left-over flip waiting functionality
- Date: Fri, 22 Jan 2021 17:08:27 +0000 (UTC)
commit 837501ab2594e57da45320e64bbf5f5ba3c07990
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Thu Jul 16 15:17:34 2020 +0200
native: Remove left-over flip waiting functionality
With the frame clocks split up, we never wait for page flip callbacks
anymore, so remove the functions that implement that.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
src/backends/native/meta-kms-impl-simple.c | 10 ----------
src/backends/native/meta-kms-impl.c | 6 ------
src/backends/native/meta-kms-impl.h | 3 ---
3 files changed, 19 deletions(-)
---
diff --git a/src/backends/native/meta-kms-impl-simple.c b/src/backends/native/meta-kms-impl-simple.c
index ede7d6fbfa..9d5fcccd9b 100644
--- a/src/backends/native/meta-kms-impl-simple.c
+++ b/src/backends/native/meta-kms-impl-simple.c
@@ -1120,15 +1120,6 @@ meta_kms_impl_simple_discard_pending_page_flips (MetaKmsImpl *impl)
g_source_destroy);
}
-static void
-meta_kms_impl_simple_dispatch_idle (MetaKmsImpl *impl)
-{
- MetaKmsImplSimple *impl_simple = META_KMS_IMPL_SIMPLE (impl);
-
- if (impl_simple->mode_set_fallback_feedback_source)
- mode_set_fallback_feedback_idle (impl_simple);
-}
-
static void
meta_kms_impl_simple_notify_device_created (MetaKmsImpl *impl,
MetaKmsDevice *device)
@@ -1189,6 +1180,5 @@ meta_kms_impl_simple_class_init (MetaKmsImplSimpleClass *klass)
impl_class->process_update = meta_kms_impl_simple_process_update;
impl_class->handle_page_flip_callback = meta_kms_impl_simple_handle_page_flip_callback;
impl_class->discard_pending_page_flips = meta_kms_impl_simple_discard_pending_page_flips;
- impl_class->dispatch_idle = meta_kms_impl_simple_dispatch_idle;
impl_class->notify_device_created = meta_kms_impl_simple_notify_device_created;
}
diff --git a/src/backends/native/meta-kms-impl.c b/src/backends/native/meta-kms-impl.c
index 055273d5cf..ee9625ec81 100644
--- a/src/backends/native/meta-kms-impl.c
+++ b/src/backends/native/meta-kms-impl.c
@@ -65,12 +65,6 @@ meta_kms_impl_discard_pending_page_flips (MetaKmsImpl *impl)
META_KMS_IMPL_GET_CLASS (impl)->discard_pending_page_flips (impl);
}
-void
-meta_kms_impl_dispatch_idle (MetaKmsImpl *impl)
-{
- META_KMS_IMPL_GET_CLASS (impl)->dispatch_idle (impl);
-}
-
void
meta_kms_impl_notify_device_created (MetaKmsImpl *impl,
MetaKmsDevice *device)
diff --git a/src/backends/native/meta-kms-impl.h b/src/backends/native/meta-kms-impl.h
index 80ec8a5c22..c22f78219a 100644
--- a/src/backends/native/meta-kms-impl.h
+++ b/src/backends/native/meta-kms-impl.h
@@ -38,7 +38,6 @@ struct _MetaKmsImplClass
void (* handle_page_flip_callback) (MetaKmsImpl *impl,
MetaKmsPageFlipData *page_flip_data);
void (* discard_pending_page_flips) (MetaKmsImpl *impl);
- void (* dispatch_idle) (MetaKmsImpl *impl);
void (* notify_device_created) (MetaKmsImpl *impl,
MetaKmsDevice *impl_device);
};
@@ -53,8 +52,6 @@ void meta_kms_impl_handle_page_flip_callback (MetaKmsImpl *impl,
void meta_kms_impl_discard_pending_page_flips (MetaKmsImpl *impl);
-void meta_kms_impl_dispatch_idle (MetaKmsImpl *impl);
-
void meta_kms_impl_notify_device_created (MetaKmsImpl *impl,
MetaKmsDevice *impl_device);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]