Re: [PATCH v2] protocol: prefer wl_surface.damage_buffer

2018-11-30 Thread Derek Foreman
On 11/5/18 1:44 PM, Derek Foreman wrote: > On 11/5/18 7:57 AM, Simon Ser wrote: >> This commit makes wl_surface.damage_buffer preferred over wl_surface.damage. >> wl_surface.damage can be implemented in a non-optimal way by the compositor >> (e.g. by always damaging the whole buffer). >> >> Having

Re: [PATCH v2] protocol: prefer wl_surface.damage_buffer

2018-11-05 Thread Derek Foreman
On 11/5/18 7:57 AM, Simon Ser wrote: > This commit makes wl_surface.damage_buffer preferred over wl_surface.damage. > wl_surface.damage can be implemented in a non-optimal way by the compositor > (e.g. by always damaging the whole buffer). > > Having two requests makes it complicated for the compo

Re: [PATCH v2] protocol: prefer wl_surface.damage_buffer

2018-11-05 Thread Pekka Paalanen
On Mon, 05 Nov 2018 13:57:00 + Simon Ser wrote: > This commit makes wl_surface.damage_buffer preferred over wl_surface.damage. > wl_surface.damage can be implemented in a non-optimal way by the compositor > (e.g. by always damaging the whole buffer). > > Having two requests makes it complica

[PATCH v2] protocol: prefer wl_surface.damage_buffer

2018-11-05 Thread Simon Ser
This commit makes wl_surface.damage_buffer preferred over wl_surface.damage. wl_surface.damage can be implemented in a non-optimal way by the compositor (e.g. by always damaging the whole buffer). Having two requests makes it complicated for the compositor to handle damage, making it necessary to