Re: [PATCH wayland 1/4] protocol: double-buffered state for wl_surface

2012-10-11 Thread Pekka Paalanen
On Thu, 11 Oct 2012 13:00:40 +0200 David Herrmann wrote: > Hi Pekka > > On Wed, Oct 10, 2012 at 11:47 AM, Pekka Paalanen wrote: > > This change breaks the protocol. > > > > The current protocol is racy in that updates to surface content and > > surface state (e.g. damage, input and opaque regio

Re: [PATCH wayland 1/4] protocol: double-buffered state for wl_surface

2012-10-11 Thread David Herrmann
Hi Pekka On Wed, Oct 10, 2012 at 11:47 AM, Pekka Paalanen wrote: > This change breaks the protocol. > > The current protocol is racy in that updates to surface content and > surface state (e.g. damage, input and opaque regions) are not guaranteed > to happen at the same time. Due to protocol buff

[PATCH wayland 1/4] protocol: double-buffered state for wl_surface

2012-10-10 Thread Pekka Paalanen
This change breaks the protocol. The current protocol is racy in that updates to surface content and surface state (e.g. damage, input and opaque regions) are not guaranteed to happen at the same time. Due to protocol buffering and handling practices, the issues are very hard to trigger. Committi