Lionel Landwerlin 6c7f624f69 master-clock-default: prevent deadlock with GLX_INTEL_swap_event
If we call _clutter_stage_do_update() on a ClutterStage that isn't
mapped/visible, no GL command will be queued, and the Mesa/DRI2
implementation of SwapBuffers will do nothing. This causes
GLX_INTEL_swap_event to not be emitted by the X server because no swapping
has been requested through DRI2 and it eventually leads to a deadlock
situation in ClutterStageCogl because we're waiting for an event before we
start the next draw cycle.

This patch removes the non mapped stages from the list of stages to process.
This is consistent with a previous patch for the ClutterMasterClockGdk [1].

[1] : 5733ad58e5a3989f5cb836d42a1cebf3884e7c36

https://bugzilla.gnome.org/show_bug.cgi?id=755014
2015-09-15 12:23:08 +01:00
..
2015-08-01 21:55:07 +02:00
2015-07-20 13:05:06 +01:00
2013-04-04 11:53:39 +01:00
2014-03-17 23:07:58 +00:00
2012-04-27 12:30:48 +01:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 19:26:49 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 23:07:58 +00:00
2015-01-01 15:16:40 +00:00
2014-03-17 23:07:58 +00:00
2015-06-10 12:28:59 +01:00
2014-03-17 23:07:58 +00:00
2015-05-26 19:05:20 +02:00
2014-03-17 23:07:58 +00:00
2015-03-03 17:44:15 +00:00
2014-03-17 23:07:58 +00:00
2014-03-17 18:53:27 +00:00
2014-03-17 23:07:58 +00:00
2012-09-03 20:54:43 +01:00
2015-07-22 19:12:42 +01:00