Go to file
Rui Matos 497a94fac7 MetaRendererNative: Flush all pending swap notifies on idle
We need to do swap notifications asynchronously from flip events since
these might be processed during swap buffers if we are waiting for the
previous frame's flip to continue with the current.

This means that we might have more than one swap notification queued
to be delivered when the idle handler runs. In that case we must
deliver all notifications for which we've already seen a flip event.

Failing to do so means that if a new frame, that only swaps buffers on
such a swap notification backlogged Onscreen, is started, when later
we get its flip event, we'd notify only an old frame which would hit
this MetaStageNative's frame_cb() early exit:

  if (global_frame_counter <= presented_frame_counter)
    return;

and we'd never finish the new frame and thus clutter's master clock
would be waiting forever stuck.

https://bugzilla.gnome.org/show_bug.cgi?id=774557
2016-12-07 16:47:22 +01:00
clutter clutter/stage: Fix framebuffer capture origin offset (again) 2016-10-17 13:48:56 +02:00
cogl cogl/egl: Fix non-Wayland build 2016-09-02 17:04:11 +08:00
data build: Say good-bye to intltool 2016-08-19 11:04:48 +02:00
doc Remove gtk-doc 2015-07-06 00:52:18 -07:00
po Update zh_CN translation 2016-10-30 02:34:13 +08:00
src MetaRendererNative: Flush all pending swap notifies on idle 2016-12-07 16:47:22 +01:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore wayland: Add support for the xdg-foreign protocol 2016-08-22 21:03:41 +08:00
autogen.sh build: Drop deprecated autogen.sh variables 2015-03-04 21:00:48 +01:00
configure.ac Bump version to 3.22.2 2016-11-10 15:11:39 +01:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am Fix the merged build 2016-04-27 20:37:47 +02:00
mutter.doap doap: add <programming-language> 2014-07-31 17:50:28 +02:00
NEWS Bump version to 3.22.2 2016-11-10 15:11:39 +01:00