gtk/gdk/x11
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
..
gdkapplaunchcontext-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkasync.c x11: Mark unused variables as such 2012-03-01 05:32:34 +01:00
gdkasync.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkcursor-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdevice-core-x11.c gdk: clean up logic error 2012-03-09 12:36:11 -05:00
gdkdevice-xi2.c gdk: clean up logic error 2012-03-09 12:36:11 -05:00
gdkdevicemanager-core-x11.c GtkPlug: fix handling of key events for different layouts 2012-04-30 16:35:10 -04:00
gdkdevicemanager-x11.c gdkdevicemanager-x11: Request XI2.3 2013-01-28 12:53:39 -05:00
gdkdevicemanager-xi2.c xi2: Abort early if we don't have a proper GDK window 2012-12-13 10:51:38 -05:00
gdkdevicemanagerprivate-core.h x11: Avoid spurious focus events on grabs 2012-03-07 15:35:21 +01:00
gdkdisplay-x11.c Add gdk_frame_timings_get_predicted_presentation_time() 2013-02-14 17:19:51 -05:00
gdkdisplay-x11.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkdisplaymanager-x11.c gdk: only emit display-opened after the default display has been set 2012-10-08 18:44:09 -04:00
gdkdnd-x11.c GDK X11 DND: Fix infinite loop 2012-05-14 23:02:23 -04:00
gdkeventsource.c gdk_display_get_event: don't unqueue events from the windowing system when paused 2013-02-14 17:19:50 -05:00
gdkeventsource.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkeventtranslator.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkeventtranslator.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkgeometry-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkkeys-x11.c Be more strict in ignoring ineffective modifiers 2012-09-09 18:28:48 -04:00
gdkmain-x11.c Drop support for pre-R6 X 2012-03-10 23:27:21 -05:00
gdkprivate-x11.h x11: Put function in header, don't declare them extern 2012-10-06 15:55:30 -04:00
gdkproperty-x11.c Drop support for pre-R6 X 2012-03-10 23:27:21 -05:00
gdkscreen-x11.c Use hash-based conversions for XSETTINGS names. 2013-01-27 01:08:25 +01:00
gdkscreen-x11.h x11: implement gdk_window_apply_fullscreen_mode() 2013-01-25 13:16:57 +01:00
gdkselection-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdksettings.c settings: add a gtk-recent-files-enabled GtkSetting 2013-02-13 12:06:43 -05:00
gdktestutils-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkvisual-x11.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkwindow-x11.c Add gdk_frame_timings_get_predicted_presentation_time() 2013-02-14 17:19:51 -05:00
gdkwindow-x11.h Add gdk_frame_timings_get_predicted_presentation_time() 2013-02-14 17:19:51 -05:00
gdkx11applaunchcontext.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11cursor.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11device-core.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11device-xi2.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11device.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11devicemanager-core.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11devicemanager-xi2.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11devicemanager-xi.h Change FSF Address 2012-02-27 17:06:11 +00:00
gdkx11devicemanager.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11display.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11displaymanager.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11dnd.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11keys.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11property.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11screen.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11selection.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11utils.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11visual.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx11window.h Move single-include guards inside include guards 2012-12-28 09:57:56 -05:00
gdkx.h Require XInput2.h in X11 backend 2012-03-02 12:52:12 +00:00
gdkxftdefaults.c Change FSF Address 2012-02-27 17:06:11 +00:00
gdkxid.c Change FSF Address 2012-02-27 17:06:11 +00:00
Makefile.am Use hash-based conversions for XSETTINGS names. 2013-01-27 01:08:25 +01:00
MwmUtil.h Change FSF Address 2012-02-27 17:06:11 +00:00
xsettings-client.c XSettingsList is now a typedef for GHashTable. 2013-01-27 01:08:25 +01:00
xsettings-client.h Change the XSettingsWatchFunc to return a Bool to indicate success. Update 2007-04-10 23:16:30 +00:00
xsettings-common.c XSettingsList is now a typedef for GHashTable. 2013-01-27 01:08:25 +01:00
xsettings-common.h XSettingsList is now a typedef for GHashTable. 2013-01-27 01:08:25 +01:00