void-packages/srcpkgs/mutter/patches/meta-renderer-x11.patch

18 lines
825 B
Diff

--- src/backends/x11/meta-renderer-x11.c 2019-03-11 16:01:02.000000000 -0700
+++ src/backends/x11/meta-renderer-x11.c 2019-03-11 23:44:53.274968331 -0700
@@ -85,14 +85,6 @@
cogl_xlib_renderer_set_foreign_display (cogl_renderer, xdisplay);
cogl_xlib_renderer_request_reset_on_video_memory_purge (cogl_renderer, TRUE);
- /* Set up things so that if the INTEL_swap_event extension is not present,
- * but the driver is known to have good thread support, we use an extra
- * thread and call glXWaitVideoSync() in the thread. This allows idles
- * to work properly, even when Mutter is constantly redrawing new frames;
- * otherwise, without INTEL_swap_event, we'll just block in glXSwapBuffers().
- */
- cogl_xlib_renderer_set_threaded_swap_wait_enabled (cogl_renderer, TRUE);
-
return cogl_renderer;
}