summaryrefslogtreecommitdiff
path: root/gdk/gdkframeclock.h
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2013-02-12 15:03:21 -0500
committerOwen W. Taylor <otaylor@fishsoup.net>2013-02-14 17:19:52 -0500
commitbb11195ec06e24a58a3f3d7b9b11381e588a7d64 (patch)
treeb508eee89b9122ddd0316250efcdd099209f72a5 /gdk/gdkframeclock.h
parentd5edf9c072cdcab3a3cbee2cdb36b122dd953f0c (diff)
downloadgtk+-bb11195ec06e24a58a3f3d7b9b11381e588a7d64.tar.gz
GdkFrameClock: Clean up the public API
* remove gdk_frame_clock_get_frame_time_val(); a convenience function that would rarely be used. * remove gdk_frame_clock_get_requested() and ::frame-requested signal; while we might want to eventually be able to track the requested phases for a clock, we don't have a current use case. * Make gdk_frame_clock_freeze/thaw() private: they are only used within GTK+ and have complex semantics. * Remove gdk_frame_clock_get_last_complete(). Another convenience function that I don't have a current use case for. * Rename: gdk_frame_clock_get_start() => gdk_frame_clock_get_history_start() gdk_frame_clocK_get_current_frame_timings() => gdk_frame_clock_get_timings()
Diffstat (limited to 'gdk/gdkframeclock.h')
-rw-r--r--gdk/gdkframeclock.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/gdk/gdkframeclock.h b/gdk/gdkframeclock.h
index 3780615bfa..11845ac108 100644
--- a/gdk/gdkframeclock.h
+++ b/gdk/gdkframeclock.h
@@ -63,29 +63,20 @@ guint64 gdk_frame_clock_get_frame_time (GdkFrameClock *clock);
void gdk_frame_clock_request_phase (GdkFrameClock *clock,
GdkFrameClockPhase phase);
-GdkFrameClockPhase gdk_frame_clock_get_requested (GdkFrameClock *clock);
-
-void gdk_frame_clock_freeze (GdkFrameClock *clock);
-void gdk_frame_clock_thaw (GdkFrameClock *clock);
/* Frame history */
gint64 gdk_frame_clock_get_frame_counter (GdkFrameClock *clock);
-gint64 gdk_frame_clock_get_start (GdkFrameClock *clock);
+gint64 gdk_frame_clock_get_history_start (GdkFrameClock *clock);
GdkFrameTimings *gdk_frame_clock_get_timings (GdkFrameClock *clock,
gint64 frame_counter);
-GdkFrameTimings *gdk_frame_clock_get_last_complete (GdkFrameClock *clock);
-/* Convenience API */
-void gdk_frame_clock_get_frame_time_val (GdkFrameClock *clock,
- GTimeVal *timeval);
+GdkFrameTimings *gdk_frame_clock_get_current_timings (GdkFrameClock *clock);
void gdk_frame_clock_get_refresh_info (GdkFrameClock *clock,
gint64 base_time,
gint64 *refresh_interval_return,
gint64 *presentation_time_return);
-GdkFrameTimings *gdk_frame_clock_get_current_frame_timings (GdkFrameClock *clock);
-
G_END_DECLS
#endif /* __GDK_FRAME_CLOCK_H__ */