From 15ee04c66f0e0d34106eb12e815b5f8f2a2b3c5f Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" <otaylor@fishsoup.net> Date: Wed, 14 Nov 2012 12:49:06 -0500 Subject: Add GdkFrameHistory and GdkFrameTimings, handle _NET_WM_FRAME_TIMINGS In order to be able to track statistics about how well we are drawing, and in order to be able to do sophisticated things with frame timing like predicting per-frame latencies and synchronizing audio with video, we need to be able to track exactly when previous frames were drawn to the screen. Information about each frame is stored in a new GdkFrameTimings object. A new GdkFrameHistory object is added which keeps a queue of recent GdkFrameTimings (this is added to avoid further complicating the implementation of GdkFrameClock.) https://bugzilla.gnome.org/show_bug.cgi?id=685460 --- gdk/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdk/Makefile.am') diff --git a/gdk/Makefile.am b/gdk/Makefile.am index a265bcaf17..61aeb4bc7f 100644 --- a/gdk/Makefile.am +++ b/gdk/Makefile.am @@ -75,6 +75,8 @@ gdk_public_h_sources = \ gdkdisplaymanager.h \ gdkdnd.h \ gdkevents.h \ + gdkframehistory.h \ + gdkframetimings.h \ gdkkeys.h \ gdkkeysyms.h \ gdkkeysyms-compat.h \ @@ -123,6 +125,8 @@ gdk_c_sources = \ gdkdisplaymanager.c \ gdkdnd.c \ gdkevents.c \ + gdkframehistory.c \ + gdkframetimings.c \ gdkglobals.c \ gdkkeys.c \ gdkkeyuni.c \ -- cgit v1.2.1