[Merge] lp:~vanvugt/gtk/fix-1698270 into lp:~ubuntu-desktop/gtk/ubuntugtk3

Daniel van Vugt daniel.van.vugt at canonical.com
Thu Oct 5 09:22:28 UTC 2017


Daniel van Vugt has proposed merging lp:~vanvugt/gtk/fix-1698270 into lp:~ubuntu-desktop/gtk/ubuntugtk3.

Commit message:
Fix irregular gdk_frame_clock_get_frame_time

This fixes stuttering in animations that rely on the regularity of
gdk_frame_clock_get_frame_time. (LP: #1698270)

BEFORE
gdkgears:
58 FPS and visibly stuttering
gnome-maps on a 59.95Hz monitor:
"paint" g_get_monotonic_time +17278μs, gdk_frame_clock_get_frame_time +17278μs
"paint" g_get_monotonic_time +17449μs, gdk_frame_clock_get_frame_time +17426μs
"paint" g_get_monotonic_time +17620μs, gdk_frame_clock_get_frame_time +17600μs

AFTER
gdkgears:
60 FPS and smoother
gnome-maps on a 59.95Hz monitor:
"paint" g_get_monotonic_time +18228μs, gdk_frame_clock_get_frame_time +16680μs
"paint" g_get_monotonic_time +15010μs, gdk_frame_clock_get_frame_time +16680μs
"paint" g_get_monotonic_time +17134μs, gdk_frame_clock_get_frame_time +16680μs


Requested reviews:
  Ubuntu Sponsors Team (ubuntu-sponsors)
  Ubuntu Desktop (ubuntu-desktop)
Related bugs:
  Bug #1698270 in GTK+: "Totem pauses and stutters during video playback even when CPU usage is low"
  https://bugs.launchpad.net/gtk/+bug/1698270

For more details, see:
https://code.launchpad.net/~vanvugt/gtk/fix-1698270/+merge/331846
-- 
Your team Ubuntu Sponsors Team is requested to review the proposed merge of lp:~vanvugt/gtk/fix-1698270 into lp:~ubuntu-desktop/gtk/ubuntugtk3.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: review-diff.txt
Type: text/x-diff
Size: 4948 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-sponsors/attachments/20171005/f9e3a3b4/attachment.diff>


More information about the Ubuntu-sponsors mailing list