1. 19 Dec, 2018 1 commit
    • Daniel van Vugt's avatar
      clutter-master-clock: Tick on presentation times · 65b04444
      Daniel van Vugt authored
      Previously the master clock would use `g_source_get_time` for the
      `cur_tick` (clutter animation step) and just hope that it's close to the
      display refresh interval. If it wasn't then that irregularity from main
      loop dispatches would show up in the interval between `cur_tick` values,
      potentially affecting animations.
      
      We now calculate a `target_presentation_time` for the next frame and use
      that as `cur_tick`. This ensures we stick to the hardware refresh
      interval and tick values are unaffected by any jitter in main loop
      dispatches, which in turn ensures that animations are closer in time with
      the display hardware.
      
      Closes: GNOME/mutter#25
      
      Supersedes: The first half of !281
      
      Bonus: Having a precise target presentation time also enables input
      smoothing and prediction to be implemented in future.
      65b04444
  2. 18 Dec, 2018 6 commits
  3. 17 Dec, 2018 1 commit
  4. 15 Dec, 2018 1 commit
  5. 14 Dec, 2018 9 commits
  6. 13 Dec, 2018 2 commits
  7. 12 Dec, 2018 2 commits
  8. 11 Dec, 2018 2 commits
  9. 06 Dec, 2018 16 commits