gtk2/gdk
Owen W. Taylor fb44ea8a85 Add gdk_frame_timings_get_predicted_presentation_time()
For an operation like synchronizing audio to video playback, we need to
be able to predict the time that a frame will be presented. The details
of this depend on the windowing system, so make the backend predict
a presentation time for ::begin-frame and set it on the GdkFrameTimings.

The timing algorithm of GdkFrameClockIdle is adjusted to give predictable
presentation times for frames that are not throttled by the windowing
system.

Helper functions:

 gdk_frame_clock_get_current_frame_timings()
 gdk_frame_clock_get_refresh_info()

are added for operations that would otherwise be needed multiple times
in different locations.

https://bugzilla.gnome.org/show_bug.cgi?id=685460
2013-02-14 17:19:51 -05:00
..
broadway broadway: Make /dev/shm names nicer 2013-01-10 23:59:23 +01:00
quartz quartz: retain content view when switching over toplevel. 2013-01-17 14:45:33 +01:00
tests Add more tests for GdkRGBA parsing 2012-01-09 00:31:20 -05:00
wayland wayland: Add support for output device removal 2013-02-14 13:28:07 +00:00
win32 Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
x11 Add gdk_frame_timings_get_predicted_presentation_time() 2013-02-14 17:19:51 -05:00
abicheck.sh Bump the version to 3.0.0 2011-02-10 14:41:02 -05:00
COPYING Change FSF Address 2012-02-27 17:06:11 +00:00
fallback-c89.c Bug 676087-configure.ac: isnan() and isinf() are macros, not functions 2012-05-16 23:55:40 -04:00
gdk.c Add GDK_DEBUG=frames 2013-02-14 17:19:51 -05:00
gdk.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdk.symbols Add new fullscreen symbols 2013-02-01 22:54:19 -05:00
gdkapplaunchcontext.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkapplaunchcontext.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkapplaunchcontextprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcairo.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcairo.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkcolor.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcolor.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkconfig.h.win32 Update gdk/gdkconfig.h.win32 2011-12-30 16:21:38 +08:00
gdkcursor.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcursor.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkcursorprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdeprecated.c gdk: Ignore headers for declared functions 2012-10-06 15:55:30 -04:00
gdkdevice.c GdkDevice: Fix an inverted assertion 2012-06-20 22:44:32 -04:00
gdkdevice.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdevicemanager.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdevicemanager.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdevicemanagerprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdeviceprivate.h Add _gdk_device_get_axis_info 2012-04-03 11:37:41 +02:00
gdkdisplay.c GdkDisplay: handle multiple calls to _gdk_display_pause_events() 2013-02-14 17:19:50 -05:00
gdkdisplay.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdisplaymanager.c wayland: Prefer X11 backend over Wayland 2012-04-16 18:53:54 +02:00
gdkdisplaymanager.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdisplaymanagerprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdisplayprivate.h GdkDisplay: handle multiple calls to _gdk_display_pause_events() 2013-02-14 17:19:50 -05:00
gdkdnd.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdnd.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkdndprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkenumtypes.c.template gdk/: fully remove gdkalias hacks 2010-07-10 02:21:31 +02:00
gdkenumtypes.h.template Remove remaining single-include guards 2010-06-04 19:40:43 -04:00
gdkevents.c GdkDisplay: handle multiple calls to _gdk_display_pause_events() 2013-02-14 17:19:50 -05:00
gdkevents.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkframeclock.c Add gdk_frame_timings_get_predicted_presentation_time() 2013-02-14 17:19:51 -05:00
gdkframeclock.h Add gdk_frame_timings_get_predicted_presentation_time() 2013-02-14 17:19:51 -05:00
gdkframeclockidle.c Add gdk_frame_timings_get_predicted_presentation_time() 2013-02-14 17:19:51 -05:00
gdkframeclockidle.h Add GdkFrameClock 2013-02-14 17:19:47 -05:00
gdkframehistory.c Add gdk_frame_timings_get_predicted_presentation_time() 2013-02-14 17:19:51 -05:00
gdkframehistory.h Add GdkFrameHistory and GdkFrameTimings, handle _NET_WM_FRAME_TIMINGS 2013-02-14 17:19:50 -05:00
gdkframetimings.c Add gdk_frame_timings_get_predicted_presentation_time() 2013-02-14 17:19:51 -05:00
gdkframetimings.h Add gdk_frame_timings_get_predicted_presentation_time() 2013-02-14 17:19:51 -05:00
gdkglobals.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkinternals.h Add GDK_DEBUG=frames 2013-02-14 17:19:51 -05:00
gdkintl.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeynames.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeys.c gdk: fix GI annotation and document for {map,add}_virtual_modifiers 2012-09-10 15:03:25 +02:00
gdkkeys.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkkeysprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeysyms-compat.h Regenerate the gdk/gdkkeysyms.h and gdk/gdkkeysyms-compat.h files 2012-04-25 20:29:36 -04:00
gdkkeysyms-update.pl gdk: Fix typo in gdkkeysyms-update.pl 2013-01-18 17:26:28 +01:00
gdkkeysyms.h Regenerate the gdk/gdkkeysyms.h and gdk/gdkkeysyms-compat.h files 2012-04-25 20:29:36 -04:00
gdkkeyuni.c gdk: Ignore headers for declared functions 2012-10-06 15:55:30 -04:00
gdkmain.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkmarshalers.list Bug 631599 - Allow to use arbitrary surfaces for offscreen windows 2010-10-14 13:25:23 +02:00
gdkoffscreenwindow.c gdk: fix the build 2012-05-15 13:27:21 -04:00
gdkpango.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkpango.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkpixbuf-drawable.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkpixbuf.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkproperty.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkrectangle.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkrectangle.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkrgba.c docs: Escape bare '#' in GdkRGBA string definitions 2012-05-20 13:45:05 +01:00
gdkrgba.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkscreen.c gdk: Ignore headers for declared functions 2012-10-06 15:55:30 -04:00
gdkscreen.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkscreenprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkselection.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkselection.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdktestutils.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkthreads.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdktypes.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkversionmacros.h.in Add GDK_VERSION_3_8 2012-10-23 17:36:17 -04:00
gdkvisual.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkvisual.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkvisualprivate.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkwindow.c GdkDisplay: handle multiple calls to _gdk_display_pause_events() 2013-02-14 17:19:50 -05:00
gdkwindow.h Add GdkFrameClock 2013-02-14 17:19:47 -05:00
gdkwindowimpl.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkwindowimpl.h gdk: add gdk_window_set_fullscreen_mode() 2013-01-25 13:16:56 +01:00
gdkx.h Change FSF Address 2012-02-27 17:06:11 +00:00
gen-keyname-table.pl gdk: Make gen-keyname-table.pl work again 2011-10-26 10:36:43 +01:00
keyname-table.h gdk: Update translator comment for "keyboard label" 2012-03-15 16:05:00 +01:00
keynames-translate.txt gdk: Translate keyboard brightness keys 2011-10-26 10:36:43 +01:00
keynames.txt Mark arrow keys as translatable 2006-12-21 05:11:00 +00:00
Makefile.am Add GdkFrameHistory and GdkFrameTimings, handle _NET_WM_FRAME_TIMINGS 2013-02-14 17:19:50 -05:00
makefile.msc win32: gdk3 resurrection 2011-01-02 13:33:04 +01:00