mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 23:54:09 +00:00
![Sebastian Wick](/assets/img/avatar_default.png)
Let's try to consolidate our documentation in doc/ in the repo. This includes some documentation from README.md, the HACKING.md coding style and the gitlab wiki. The README.md file now links to all top-level topics (i.e. not reachable via other topics). This also includes a few small changes to make things more consistent. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3465>
15 lines
477 B
Markdown
15 lines
477 B
Markdown
# Frame scheduling
|
|
|
|
`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
|
|
```
|