[mutter.wiki] Create Frame scheduling
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter.wiki] Create Frame scheduling
- Date: Fri, 23 Oct 2020 19:33:54 +0000 (UTC)
commit 269e2e9a1a701e7788c217d0e530a5b6a1ed3bd3
Author: Jonas Ådahl <jadahl gmail com>
Date: Fri Oct 23 19:33:53 2020 +0000
Create Frame scheduling
Frame-scheduling.md | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/Frame-scheduling.md b/Frame-scheduling.md
new file mode 100644
index 0000000..e8f0f9e
--- /dev/null
+++ b/Frame-scheduling.md
@@ -0,0 +1,12 @@
+`ClutterFrameClock` state diagram.
+
+```mermaid
+stateDiagram
+ Init --> Scheduled : schedule update() -> now
+ Idle --> Scheduled : schedule update() -> given presentation time
+ Scheduled --> Dispatching : target time hit
+ Dispatching --> PendingPresented : queued page flip
+ Dispatching --> Idle : no queued page flip
+ PendingPresented --> Scheduled : page flipped, if recent schedule update
+ PendingPresented --> Idle : page flipped
+```
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]