Re: [PATCH weston v2] simple-shm: explain two initial roundtrips

2014-11-26 Thread Pekka Paalanen
On Thu, 27 Nov 2014 09:15:33 +0200 Pekka Paalanen wrote: > On Wed, 26 Nov 2014 16:12:27 +0100 > Marek Chalupa wrote: > > > Maybe it'd be worth to mention this 'general technique' on appropriate > > places in the source code, i. e. in wl_display_get_registry() documentation > > or so. > > Everyb

Re: [PATCH weston v2] simple-shm: explain two initial roundtrips

2014-11-26 Thread Pekka Paalanen
On Wed, 26 Nov 2014 16:12:27 +0100 Marek Chalupa wrote: > On 26 November 2014 at 09:04, Pekka Paalanen wrote: > > > From: Pekka Paalanen > > > > Explain carefully why we need two roundtrips, not just one, not just > > dispatch and roundtrip, but two roundtrips after creating the > > wl_registr

Re: [PATCH weston v2] simple-shm: explain two initial roundtrips

2014-11-26 Thread Marek Chalupa
On 26 November 2014 at 09:04, Pekka Paalanen wrote: > From: Pekka Paalanen > > Explain carefully why we need two roundtrips, not just one, not just > dispatch and roundtrip, but two roundtrips after creating the > wl_registry object. > > v2: Explain what initial events are, and that this is a ge

[PATCH weston v2] simple-shm: explain two initial roundtrips

2014-11-26 Thread Pekka Paalanen
From: Pekka Paalanen Explain carefully why we need two roundtrips, not just one, not just dispatch and roundtrip, but two roundtrips after creating the wl_registry object. v2: Explain what initial events are, and that this is a general technique. Signed-off-by: Pekka Paalanen --- clients/simp