mutter/cogl
Daniel van Vugt 20c1295a33 cogl-winsys-glx: Fix frame notification race/leak
If a second `set_{sync,complete}_pending` was queued before the idle
handler had flushed the first then one of them would be forgotten.
It would stay queued forever and never emitted as a notification.

This could happen repeatedly causing a slow leak. But worse still,
`clutter-stage-cogl` would then have `pending_swaps` permanently stuck
above zero preventing the presentation timing logic from being used.

The problem is that a boolean can only count to one, but in some cases
(triple buffering, whether intentional or accidental #334) we need it to
count to two. So just change booleans to integers and count properly.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/216
2019-04-12 11:09:00 +08:00
..
cogl cogl-winsys-glx: Fix frame notification race/leak 2019-04-12 11:09:00 +08:00
cogl-gles2 build: Don't use absolute paths with subdir keyword 2019-03-18 12:37:14 +00:00
cogl-pango build: Don't use absolute paths with subdir keyword 2019-03-18 12:37:14 +00:00
cogl-path build: Don't use absolute paths with subdir keyword 2019-03-18 12:37:14 +00:00
test-fixtures Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
tests cogl: Remove CoglBool, use gboolean instead 2019-02-15 16:35:46 +01:00
.gitignore cogl-framebuffer: Remove swap_throttled config 2018-12-06 14:29:34 +00:00
cogl-config.h.meson Add meson build support 2018-11-06 18:51:44 +01:00
cogl-mutter-config.h.in cogl: Make cogl-config.h include check explicit 2018-11-06 17:17:36 +01:00
config-custom.h move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
meson.build build: Don't use absolute paths with subdir keyword 2019-03-18 12:37:14 +00:00