]> Pileus Git - ~andy/gtk/commit
Add GdkFrameHistory and GdkFrameTimings, handle _NET_WM_FRAME_TIMINGS
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 14 Nov 2012 17:49:06 +0000 (12:49 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 14 Feb 2013 22:19:50 +0000 (17:19 -0500)
commit15ee04c66f0e0d34106eb12e815b5f8f2a2b3c5f
tree0259ffa7774d2491ad83948fc6ba072e38b010bb
parentd761df7e0c73341a191b45ac5c30c44eaf31e305
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
gdk/gdkframeclock.c
gdk/gdkframeclock.h
gdk/gdkframeclockidle.c
gdk/gdkframehistory.c [new file with mode: 0644]
gdk/gdkframehistory.h [new file with mode: 0644]
gdk/gdkframetimings.c [new file with mode: 0644]
gdk/gdkframetimings.h [new file with mode: 0644]
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkwindow-x11.c