xserver/hw
Pekka Paalanen f72587ecc7 xwayland: reduce over-damage
If an X11 app draws a little here, some there, and a tiny bit in the
opposite corner, using RegionExtents for the damage to be sent to the
Wayland compositor will cause massive over-damaging.

However, we cannot blindly send an arbitrary number of damage
rectangles, because there is a risk of overflowing the Wayland
connection. If that happens, it triggers an abort in libwayland-client.

Try to be more accurate with the damage by sending up to 256 rectangles
per window, and fall back to extents otherwise. The number is completely
arbitrary.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
2018-01-22 12:27:28 -05:00
..
dmx glx: Drop references to <GL/internal/glcore.h> 2017-11-14 16:18:47 -05:00
kdrive kdrive: remove KdSignalWrapper etc. 2017-12-13 11:11:47 -05:00
vfb test: Add basic SYNC tests. 2017-09-20 13:19:27 -04:00
xfree86 xfree86: add default modes for 16:9 and 16:10 2018-01-18 14:16:35 -05:00
xnest Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xquartz glx: Fix glXQueryContext for GLX_FBCONFIG_ID and GLX_RENDER_TYPE (v2) 2017-12-01 16:13:18 -05:00
xwayland xwayland: reduce over-damage 2018-01-22 12:27:28 -05:00
xwin meson: Add dependency on generated code fragments in hw/xwin/glx/ 2017-12-13 11:32:53 -05:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00