Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M
mutter
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 764
    • Issues 764
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 92
    • Merge Requests 92
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • mutter
  • Merge Requests
  • !70

Closed
Opened Apr 04, 2018 by Daniel van Vugt@vanvugtContributor
  • Report abuse
Report abuse

WIP: clutter: Smooth out master clock to smooth visuals [performance]

  • Overview 32
  • Commits 1
  • Changes 1

Clutter's master clock was jittery because it included errors in cur_tick such as dispatch delays due to other sources. Dispatch could also occur up to 1ms early since GSource can only be timed to the millisecond. All of this could impact the visual smoothness of animations as they are displayed on the steady interval of the monitor, but spacially moving in less regular steps derived from the dispatch times.

The simple fix is to ignore any jitter in dispatch timing. Try a little bit harder to use a precise interval that will better match the display hardware, and smoother visuals will follow.

#25

Edited Jul 03, 2018 by Daniel van Vugt
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: GNOME/mutter!70
Source branch: fix-clock-smoothness-v3