]> Pileus Git - ~andy/gtk/commit - gdk/gdkframeclockidle.c
GdkFrameClockIdle: add throttling to 60fps
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 27 Sep 2012 21:55:55 +0000 (17:55 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:48 +0000 (17:19 -0500)
commit7dfa41218823d197cf21f74f37036cc66480d455
tree8161516b8b26c256e607888e81d3813f3bc02692
parent6557a775df9651536747867e5052be2b2eddb45d
GdkFrameClockIdle: add throttling to 60fps

If the backend is throttling paints, then the frame clock will be
frozen at the end of the frame. If not, then we need to add throttling,
so wait until 16ms after the start of the frame before beginning the
next frame.

https://bugzilla.gnome.org/show_bug.cgi?id=685460
gdk/gdkframeclockidle.c