]> Pileus Git - ~andy/gtk/commit
Add gdk_frame_timings_get/set_slept_before()
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 14 Nov 2012 21:08:08 +0000 (16:08 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:50 +0000 (17:19 -0500)
commit58b5811d03ded179b285727407b6a6be3d4d0734
tree57bb0e1f18a863a6abb1958b871a33b4b784510d
parentdc6dedab4dfdff5d067ba9f8c88d6a48cf0af143
Add gdk_frame_timings_get/set_slept_before()

Add functions that tell us whether the main loop slept before we drew
a frame. Blocking with the frame clock frozen doesn't count as sleeping.
We'll use this to advertise to the compositor whether we
are drawing as fast as possible (and it should do the same) or timing
frames carefully (and it should do the same.)

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