mutter/clutter/gdk
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
..
clutter-backend-gdk-private.h Add a new GDK backend 2011-11-03 13:42:13 +00:00
clutter-backend-gdk.c Add internal constructor function for each backend 2015-12-11 14:23:38 +00:00
clutter-backend-gdk.h Add internal constructor function for each backend 2015-12-11 14:23:38 +00:00
clutter-device-manager-gdk.c gdk: Implement ClutterEventExtender 2015-11-18 13:00:53 +01:00
clutter-device-manager-gdk.h Add a new GDK backend 2011-11-03 13:42:13 +00:00
clutter-event-gdk.c gdk: stage: create subsurface when dealing with foreign windows on wayland 2015-09-07 18:17:10 +01:00
clutter-gdk.h gdk: Add function to retrieve the GdkVisual 2015-06-10 19:09:21 +01:00
clutter-input-device-gdk.c gdk/device: Propagate more device details from GDK 2015-06-03 13:08:01 +01:00
clutter-input-device-gdk.h Add a new GDK backend 2011-11-03 13:42:13 +00:00
clutter-master-clock-gdk.c gdk: Enable clock updates when timelines are added to the clock 2015-09-22 17:27:42 +01:00
clutter-master-clock-gdk.h gdk: implement a MasterClock based on GdkFrameClock 2015-02-17 19:12:40 +00:00
clutter-settings-gdk.h gdk: Add window-scaling-factor support 2014-09-03 14:21:08 +01:00
clutter-stage-gdk.c gdk: Enable swap throttling on full screen windows 2016-01-25 18:48:49 +00:00
clutter-stage-gdk.h gdk: stage: create subsurface when dealing with foreign windows on wayland 2015-09-07 18:17:10 +01:00