]> Pileus Git - ~andy/gtk/commit
Add gdk_frame_clock_begin/end_updating()
authorOwen W. Taylor <otaylor@fishsoup.net>
Fri, 15 Feb 2013 22:04:39 +0000 (17:04 -0500)
committerAlexander Larsson <alexl@redhat.com>
Mon, 18 Feb 2013 16:14:24 +0000 (17:14 +0100)
commit1db87c897f930171646351c99af7df09dc7ec949
tree7b7783b11fa91636cac8c0cc6380dff150b02656
parent1da329b2bd0bcf1303d9cc557055f77482420967
Add gdk_frame_clock_begin/end_updating()

Add an API to start or stop continually updating the frame clock.
This is a slight convenience for applcations and avoids the problem
of getting one more frame run after an animation stops, but the
primary motivation for this is because it looks like we might have
to use timeBeginPeriod()/timeEndPeriod() on Windows to get reasonably
accurate timing, and for that we'll need to know if there is an
animation running.

https://bugzilla.gnome.org/show_bug.cgi?id=693934
gdk/gdk.symbols
gdk/gdkframeclock.c
gdk/gdkframeclock.h
gdk/gdkframeclockidle.c
gdk/gdkframeclockprivate.h
gtk/gtkstylecontext.c
gtk/gtkwidget.c
tests/video-timer.c