mutter/clutter
Emmanuele Bassi c624230a8a gdk: Enable swap throttling on full screen windows
Since commit 6183eb3632 we disabled swap
throttling in favour of being driven by the GDK frame clock (and thus by
the compositor).

Compositors may decide to unredirect full screen windows to avoid the
performance penalty of the additional copy, especially on X11, which
means that a Clutter application marked as full screen is not going to
be driven by the compositor, and it's not going to be throttled by the
underlying GL machinery. This has a performance impact on constrained
platforms.

For this reason, we should re-enable swap throttling when the window is
full screen.

As the change was introduced especially because of Wayland, we should
check that we're not running as clients under a Wayland compositor; if
we do, we always keep swap throttling disabled, as the compositor will
always manage our output, even when full screen.
2016-01-25 18:48:49 +00:00
..
cally cally: Drop use of deprecated macros 2015-07-11 10:18:18 +01:00
cex100
cogl cogl: reset pending swaps counter on unrealize 2015-09-15 12:29:05 +01:00
deprecated Fix typo (textues) 2015-08-01 21:55:07 +02:00
egl egl: Rename backend constructor function 2015-12-11 16:23:09 +00:00
evdev evdev: Add scroll source/finish flags info to scroll events. 2016-01-14 19:12:17 +01:00
gdk gdk: Enable swap throttling on full screen windows 2016-01-25 18:48:49 +00:00
mir Add internal constructor function for each backend 2015-12-11 14:23:38 +00:00
osx Add internal constructor function for each backend 2015-12-11 14:23:38 +00:00
tslib
wayland Add internal constructor function for each backend 2015-12-11 14:23:38 +00:00
win32 Add internal constructor function for each backend 2015-12-11 14:23:38 +00:00
x11 Add internal constructor function for each backend 2015-12-11 14:23:38 +00:00
clutter-action.c docs: Description fixes for Action and Constraint 2010-05-26 14:09:24 +01:00
clutter-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-actor-box.c docs: Fix syntax errors in annotations 2013-12-04 16:09:09 +00:00
clutter-actor-meta-private.h
clutter-actor-meta.c
clutter-actor-meta.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-actor-private.h actor: Add internal "create textute node" function 2015-08-24 09:59:16 +01:00
clutter-actor.c Fix annotation for bind_model() 2015-12-09 12:44:20 +00:00
clutter-actor.h actor: Fully deprecate the state access macros 2015-07-11 10:18:18 +01:00
clutter-align-constraint.c WARNING: Massive revert commit 2015-01-03 20:34:20 +00:00
clutter-align-constraint.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-animatable.c WARNING: Massive revert commit 2015-01-03 20:34:20 +00:00
clutter-animatable.h Annotate all public symbols 2014-03-17 18:53:27 +00:00
clutter-autocleanups.h Add autocleanup macros for Clutter types 2015-07-07 16:03:31 +01:00
clutter-backend-private.h Allow setting the default backend from the configuration file 2015-12-11 15:53:24 +00:00
clutter-backend.c Allow setting the default backend from the configuration file 2015-12-11 15:53:24 +00:00
clutter-backend.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-base-types.c
clutter-bezier.c
clutter-bezier.h WARNING: Massive revert commit 2015-01-03 20:34:20 +00:00
clutter-bin-layout.c Stop using macros for accessing actor state 2015-04-23 17:39:30 +01:00
clutter-bin-layout.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-bind-constraint.c Revert "bind-constraint: Update the preferred size" 2014-12-16 13:33:16 +00:00
clutter-bind-constraint.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-binding-pool.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-binding-pool.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-blur-effect.c
clutter-blur-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-box-layout.c docs: Fix a typo in the BoxLayout:homogeneous description 2015-08-21 12:11:05 +01:00
clutter-box-layout.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-brightness-contrast-effect.c
clutter-brightness-contrast-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-cairo.c
clutter-cairo.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-canvas.c canvas: Use internal function for the texture node 2015-08-24 09:59:53 +01:00
clutter-canvas.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-child-meta.c WARNING: Massive revert commit 2015-01-03 20:34:20 +00:00
clutter-child-meta.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-click-action.c click-action: Ignore motions/updates from different devices/sequences 2015-10-17 18:44:25 +02:00
clutter-click-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-clone.c Avoid crashing when an actor not parented to a toplevel is cloned 2015-09-29 14:15:16 -04:00
clutter-clone.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-cogl-compat.h Reduce our internal dependence on the Cogl 1.x api 2012-02-21 17:46:11 +00:00
clutter-color-static.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-color.c docs: Remove leftover DocBook tags 2015-03-12 20:22:57 +00:00
clutter-color.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-colorize-effect.c WARNING: Massive revert commit 2015-01-03 20:34:20 +00:00
clutter-colorize-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-config.h.in build: Generate an instealled config header 2011-01-19 14:33:27 +00:00
clutter-config.h.win32
clutter-config.h.win32_GDK
clutter-constraint-private.h constraint: Add the ability to update the preferred size 2014-12-16 00:37:06 +00:00
clutter-constraint.c constraint: Fix update_allocation()'s return value 2014-12-16 00:46:16 +00:00
clutter-constraint.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-container.c Use new introspection annotation syntax 2014-12-15 23:45:25 +00:00
clutter-container.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-content-private.h
clutter-content.c
clutter-content.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-debug.h debug: Simple whitespace cleanups 2011-11-18 17:54:19 +00:00
clutter-deform-effect.c
clutter-deform-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-deprecated.h Move ClutterModel to the deprecated area 2015-07-07 16:03:31 +01:00
clutter-desaturate-effect.c WARNING: Massive revert commit 2015-01-03 20:34:20 +00:00
clutter-desaturate-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-device-manager-private.h Fix definition of ClutterEventExtender 2015-12-09 12:42:55 +00:00
clutter-device-manager.c device-manager: Add private interface to manipulate platform event data 2015-11-18 12:59:05 +01:00
clutter-device-manager.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-drag-action.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-drag-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-drop-action.c
clutter-drop-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-easing.c timeline: Add cubic-bezier() progress functions 2012-07-19 22:13:24 -04:00
clutter-easing.h timeline: Add cubic-bezier() progress functions 2012-07-19 22:13:24 -04:00
clutter-effect-private.h effect: Rename RunFlags to PaintFlags 2011-06-13 16:00:45 +01:00
clutter-effect.c
clutter-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-enum-types.c.in Annotate all public symbols 2014-03-17 18:53:27 +00:00
clutter-enum-types.h.in Annotate all public symbols 2014-03-17 18:53:27 +00:00
clutter-enums.h clutter-event: Add scroll source enum and axis scroll flags 2016-01-14 19:12:17 +01:00
clutter-event-private.h Add API to install an event filter 2013-11-14 14:32:17 -05:00
clutter-event-translator.c event/x11: Rework the way we translate X11 events 2011-01-21 10:25:43 +00:00
clutter-event-translator.h
clutter-event.c clutter-event: Add scroll source enum and axis scroll flags 2016-01-14 19:12:17 +01:00
clutter-event.h clutter-event: Add scroll source enum and axis scroll flags 2016-01-14 19:12:17 +01:00
clutter-feature.c
clutter-feature.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-fixed-layout.c
clutter-fixed-layout.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-flatten-effect.c
clutter-flatten-effect.h clutter-actor: Add a 'has_overlaps' virtual 2011-05-13 01:46:32 +01:00
clutter-flow-layout.c
clutter-flow-layout.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-gesture-action-private.h gesture: Make threshold-trigger-edge public 2013-12-05 15:20:39 +00:00
clutter-gesture-action.c Re-introduce removed GestureAction method 2014-09-03 14:16:31 +01:00
clutter-gesture-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-grid-layout.c grid-layout: Clarify the scope of the orientation property 2015-09-04 13:53:04 +01:00
clutter-grid-layout.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-group.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-id-pool.c
clutter-id-pool.h Privatize all ClutterIdPool functions 2011-02-18 15:53:27 +00:00
clutter-image.c image: Use internal function for the texture node 2015-08-24 10:01:03 +01:00
clutter-image.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-input-device.c
clutter-input-device.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-interval.c
clutter-interval.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-keyframe-transition.c Easing modes are not used when computing the value of a KeyframeTransition 2014-12-11 22:37:22 +00:00
clutter-keyframe-transition.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-keysyms-table.c
clutter-keysyms-update.pl keysyms-update: Add deprecation notice for compat symbols 2015-07-17 13:15:32 +01:00
clutter-keysyms.h keysyms: Update the list of key symbols 2015-01-03 20:05:22 +00:00
clutter-layout-manager.c
clutter-layout-manager.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-layout-meta.c
clutter-layout-meta.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-macros.h Add version macros for Clutter 1.26 2015-11-18 11:54:26 +00:00
clutter-main.c Allow setting the default backend from the configuration file 2015-12-11 15:53:24 +00:00
clutter-main.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-marshal.list
clutter-master-clock-default.c master-clock-default: prevent deadlock with GLX_INTEL_swap_event 2015-09-15 12:23:08 +01:00
clutter-master-clock-default.h
clutter-master-clock.c
clutter-master-clock.h main: Make the MasterClock an interface 2015-02-17 18:55:23 +00:00
clutter-offscreen-effect-private.h offscreen-effect: Add public accessor for target size 2011-02-28 14:34:36 +00:00
clutter-offscreen-effect.c
clutter-offscreen-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-page-turn-effect.c
clutter-page-turn-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-paint-node-private.h docs: Remove last stray DocBook tags 2014-03-18 14:15:01 +00:00
clutter-paint-node.c
clutter-paint-node.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-paint-nodes.c
clutter-paint-nodes.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-paint-volume-private.h Optimize culling by doing culling in eye-coordinates 2011-03-07 13:26:20 +00:00
clutter-paint-volume.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-pan-action.c Add PanAxis mode that automatically pins scroll based on initial movement 2015-06-11 15:47:48 -03:00
clutter-pan-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-path-constraint.c
clutter-path-constraint.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-path.c
clutter-path.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-private.h Remove unused pointer 2015-01-01 15:16:40 +00:00
clutter-property-transition.c Use the new macros for adding private data 2013-07-03 18:04:32 +01:00
clutter-property-transition.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-rotate-action.c
clutter-rotate-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-script-parser.c
clutter-script-private.h WARNING: Massive revert commit 2015-01-03 20:34:20 +00:00
clutter-script.c docs: Remove leftover DocBook tags 2015-03-12 20:22:57 +00:00
clutter-script.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-scriptable.c WARNING: Massive revert commit 2015-01-03 20:34:20 +00:00
clutter-scriptable.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-scroll-actor.c docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-scroll-actor.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-settings-private.h clutter-settings: Mark window-scaling-factor as fixed when set by the app 2014-08-23 14:02:56 +02:00
clutter-settings.c Add missing include 2015-06-10 12:28:59 +01:00
clutter-settings.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-shader-effect.c
clutter-shader-effect.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-shader-types.c
clutter-shader-types.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-snap-constraint.c Bind constraints: Don't force redraws on source relayout 2013-11-26 11:12:12 -05:00
clutter-snap-constraint.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-stage-manager-private.h
clutter-stage-manager.c
clutter-stage-manager.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-stage-private.h Avoid needless event copies when queueing from a backend to a stage 2014-03-15 19:44:57 +00:00
clutter-stage-window.c stage-window: Add scaling factor accessors 2013-09-19 22:51:52 +01:00
clutter-stage-window.h docs: Remove last stray DocBook tags 2014-03-18 14:15:01 +00:00
clutter-stage.c
clutter-stage.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-swipe-action.c
clutter-swipe-action.h docs: Remove last stray DocBook tags 2014-03-18 14:15:01 +00:00
clutter-tap-action.c GestureActions: Set threshold-trigger-edge at right time 2014-02-13 18:53:24 +01:00
clutter-tap-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-test-utils.c
clutter-test-utils.h docs: Move to markdown 2014-03-17 23:07:58 +00:00
clutter-text-buffer.c
clutter-text-buffer.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-text.c text: Enforce boolean value 2015-11-30 13:47:57 +00:00
clutter-text.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-texture.h docs: Minimal fixes for the API reference 2015-03-03 15:53:04 +00:00
clutter-timeline.c timeline: Add more debug output 2015-09-21 17:02:39 +01:00
clutter-timeline.h Annotate all public symbols 2014-03-17 18:53:27 +00:00
clutter-transition-group.c
clutter-transition-group.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-transition.c
clutter-transition.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-types.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-units.c
clutter-units.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter-util.c
clutter-version.h.in Add version macros for Clutter 1.26 2015-11-18 11:54:26 +00:00
clutter-zoom-action.c GestureActions: Set threshold-trigger-edge at right time 2014-02-13 18:53:24 +01:00
clutter-zoom-action.h Move header inclusion guard at the top 2015-07-07 16:03:32 +01:00
clutter.h Add autocleanup macros for Clutter types 2015-07-07 16:03:31 +01:00
clutter.pc.in WARNING: Massive revert commit 2015-01-03 20:34:20 +00:00
config.h.win32.in
Makefile.am evdev: Allow to retrieve the input.h event code from ClutterEvents 2015-11-18 13:00:48 +01:00