Re: [RFC xserver 1/1] xwayland: reduce over-damage

2018-01-23 Thread Pekka Paalanen
On Mon, 22 Jan 2018 13:14:10 -0500 Adam Jackson wrote: > On Mon, 2018-01-22 at 14:51 +, Daniel Stone wrote: > > Hi Pekka, > > > > On 20 December 2017 at 11:18, Pekka Paalanen wrote: > > > If an X11 app draws a little here, some there, and a tiny bit in the > > > opposite corner, using Re

Re: [RFC xserver 1/1] xwayland: reduce over-damage

2018-01-22 Thread Adam Jackson
On Mon, 2018-01-22 at 14:51 +, Daniel Stone wrote: > Hi Pekka, > > On 20 December 2017 at 11:18, Pekka Paalanen wrote: > > 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 wil

Re: [RFC xserver 1/1] xwayland: reduce over-damage

2018-01-22 Thread Daniel Stone
Hi Pekka, On 20 December 2017 at 11:18, Pekka Paalanen wrote: > 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

Re: [RFC xserver 1/1] xwayland: reduce over-damage

2018-01-22 Thread Olivier Fourdan
Hi Pekka, On 22 January 2018 at 14:34, Pekka Paalanen wrote: > On Wed, 20 Dec 2017 13:18:45 +0200 > Pekka Paalanen wrote: > > > From: Pekka Paalanen > > > > 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 t

Re: [RFC xserver 1/1] xwayland: reduce over-damage

2018-01-22 Thread Pekka Paalanen
On Wed, 20 Dec 2017 13:18:45 +0200 Pekka Paalanen wrote: > From: Pekka Paalanen > > 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, w

[RFC xserver 1/1] xwayland: reduce over-damage

2017-12-20 Thread Pekka Paalanen
From: Pekka Paalanen 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 t