diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2012-11-14 12:49:06 -0500 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2013-02-14 17:19:50 -0500 |
commit | 15ee04c66f0e0d34106eb12e815b5f8f2a2b3c5f (patch) | |
tree | 0259ffa7774d2491ad83948fc6ba072e38b010bb /gdk/Makefile.am | |
parent | d761df7e0c73341a191b45ac5c30c44eaf31e305 (diff) | |
download | gtk+-15ee04c66f0e0d34106eb12e815b5f8f2a2b3c5f.tar.gz |
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
Diffstat (limited to 'gdk/Makefile.am')
-rw-r--r-- | gdk/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
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 \ |