xserver-multidpi/hw/xwayland
Michel Dänzer 98f41563e6 xwayland: Replace xwl_window::present_window with ::present_flipped
There's no need to keep track of the window which last performed a
Present flip. This fixes crashes due to the assertion in
xwl_present_flips_stop failing. Fixes issue #10.

The damage generated by a flip only needs to be ignored once, then
xwl_window::present_flipped can be cleared. This may fix freezing in
the (hypothetical) scenario where Present flips are performed on a
window, followed by other drawing requests using the window as the
destination, but nothing triggering xwl_present_flips_stop. The damage
from the latter drawing requests would continue being ignored.

(cherry picked from commit 6b016d58d2)
2019-01-09 15:26:33 +01:00
..
.gitignore glamor: Implement PixmapFromBuffers and BuffersFromPixmap 2018-03-05 13:27:49 -05:00
drm.xml wayland: Sync drm.xml with Mesa 2017-07-05 10:13:04 -04:00
Makefile.am xwayland: Add glamor egl_backend for EGLStreams 2018-04-24 16:51:18 -04:00
meson.build xwayland: Add glamor egl_backend for EGLStreams 2018-04-24 16:51:18 -04:00
xwayland-cursor.c xwayland: Fix non-argb cursor conversion 2017-12-06 10:15:57 -05:00
xwayland-cvt.c xwayland: Add hack for FWXGA resolution #99574 2017-02-08 12:32:16 -05:00
xwayland-glamor-eglstream.c xwayland: simplify xwl_glamor_pixmap_get_wl_buffer() 2018-08-01 11:01:37 -04:00
xwayland-glamor-gbm.c xwayland: do not crash if gbm_bo_create() fails 2019-01-09 15:26:33 +01:00
xwayland-glamor-xv.c xwayland: use the lowercase xnf.*alloc API 2017-09-06 08:56:39 +10:00
xwayland-glamor.c xwayland: Enable DRI3 for glamor 2018-08-02 10:04:10 -04:00
xwayland-input.c xwayland: Use double for xwl_tablet_tool 2018-10-04 17:27:08 +02:00
xwayland-output.c xwayland: fix access to invalid pointer 2018-10-04 17:25:19 +02:00
xwayland-present.c xwayland: Replace xwl_window::present_window with ::present_flipped 2019-01-09 15:26:33 +01:00
xwayland-shm.c xserver: Check the right HAVE_*_CONFIG_H. 2017-03-23 13:17:39 -04:00
xwayland-vidmode.c xwayland: Pretend we support viewport in vidmode 2016-03-28 14:10:59 -04:00
xwayland.c xwayland: Replace xwl_window::present_window with ::present_flipped 2019-01-09 15:26:33 +01:00
xwayland.h xwayland: Replace xwl_window::present_window with ::present_flipped 2019-01-09 15:26:33 +01:00