Re: Busy loop in the wl_priv_signal_final_emit

2018-08-30 Thread Matteo Valdina
Hi, I figure it out. The issue was in my compositor. For reference, I was using the same wl_listener for multiple clients (wl_client_add_destroy_listener). This was the root cause of my issue. Best Matteo On Wed, Aug 29, 2018 at 4:46 PM Matteo Valdina wrote: > Hi, > I'm moving my compositor to

Re: [PATCH wayland v4 4/5] meson: Run Doxygen on the Meson build

2018-08-30 Thread Pekka Paalanen
On Tue, 28 Aug 2018 23:19:18 +0100 Daniel Stone wrote: > From: Emmanuele Bassi > > Add a script which generates the desired Doxygen configuration for our > various output formats and executes it using that configuration. > > [daniels: Properly install into mandir/man3 via some gross >

Re: [PATCH wayland v4 1/5] build/doc: Ensure destination dir exists despite VPATH

2018-08-30 Thread Daniel Stone
On Wed, 29 Aug 2018 at 17:46, Emil Velikov wrote: > On 28 August 2018 at 23:19, Daniel Stone wrote: > > Change the alldirs target list to be absolute paths, so VPATH will not > > be consulted and defeat the entire point of what we're trying to do. > > This fixes the Meson build, where we later

Re: [PATCH wayland 6/6] tests: Remove memory leak checking infrastructure

2018-08-30 Thread Daniel Stone
Hi, On Wed, 29 Aug 2018 at 17:37, Emil Velikov wrote: > On 29 August 2018 at 07:17, Daniel Stone wrote: > > There are far better ways to detect memory leaks, such as either > > valgrind or ASan. Having Meson makes it really easy to use these tools > > in our tests, and we can do that in CI as

Re: [PATCH wayland 5/6] tests: Overly elaborate compiler warning workaround

2018-08-30 Thread Daniel Stone
Hi Emil, On Wed, 29 Aug 2018 at 17:33, Emil Velikov wrote: > On 29 August 2018 at 07:17, Daniel Stone wrote: > > -static const struct sockaddr_un example_sockaddr_un; > > +static struct sockaddr_un example_sockaddr_un; > > > > #define TOO_LONG (1 + sizeof example_sockaddr_un.sun_path) > > > >

Re: [PATCH wayland-protocols v4] unstable/drm-lease: DRM lease protocol support

2018-08-30 Thread Philipp Zabel
On Thu, 2018-08-30 at 11:01 +, Marius-cristian Vlad wrote: [...] > > One interesting question is how to handle the situation when the > > client deliberately, or not, holds the lease indefinitely. > > The client implicitly cancels the lease by closing the lease fd (or by > having it closed

RE: [PATCH wayland-protocols v4] unstable/drm-lease: DRM lease protocol support

2018-08-30 Thread Marius-cristian Vlad
Excuse my MUA, but I have no other means to reply atm. -Original Message- From: Philipp Zabel Sent: Thursday, August 30, 2018 10:03 AM To: Marius-cristian Vlad ; wayland-devel@lists.freedesktop.org Cc: kei...@keithp.com; eu...@de.adit-jv.com; dan...@fooishbar.org; ppaala...@gmail.com;

calculate subsurface's bounding box

2018-08-30 Thread zou lan
Hi pekka & all I find function weston_view_update_transform_enable() function will calculate view's bounding box, but after that function, weston_view_update_transform will update subsurface's scissor region by parent surface's region, the code is in weston_view_transfer_scissor(). But the sub

Re: [PATCH wayland-protocols v4] unstable/drm-lease: DRM lease protocol support

2018-08-30 Thread Philipp Zabel
Hi Marius, Disclaimer: I don't feel very qualified to comment on the protocol design, take this with a grain of salt. Am Mittwoch, den 29.08.2018, 14:00 +0300 schrieb Marius Vlad: > Simple protocol extension to manage DRM lease. Based on the work by Keith > Packard in [1], respectively [2]. > >