Re: [PATCH wayland] protocol: Suggest get_registry not be called frequently

2017-09-29 Thread Daniel Stone
On 29 September 2017 at 19:46, Derek Foreman wrote: > I've heard some complaints that wl_display.get_registry "leaks" > server memory because wl_registry has no destructor. While this isn't > strictly true - all those resources are freed when the client > disconnects - it's a bit of a gotcha for

[PATCH wayland] protocol: Suggest get_registry not be called frequently

2017-09-29 Thread Derek Foreman
I've heard some complaints that wl_display.get_registry "leaks" server memory because wl_registry has no destructor. While this isn't strictly true - all those resources are freed when the client disconnects - it's a bit of a gotcha for neophytes. Since wl_registry's version is not requested in a

Re: [PATCH weston v12 04/40] compositor-drm: Use drm_plane for cursor plane

2017-09-29 Thread Pekka Paalanen
On Tue, 26 Sep 2017 18:15:37 +0100 Daniel Stone wrote: > Change the type of cursor_plane from a weston_plane (base tracking > structure) to a drm_plane (wrapper containing additional DRM-specific > details), and make it a dynamically-allocated pointer. > > Using the standard drm_plane allows us

Re: [PATCH weston v12 03/40] [TEST] compositor-drm: Allow disabling universal planes

2017-09-29 Thread Emil Velikov
On 26 September 2017 at 18:15, Daniel Stone wrote: > Add a test environment variable to allow disabling universal planes. > > Signed-off-by: Daniel Stone > --- > libweston/compositor-drm.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/libweston/compositor-drm.c b

Re: [RFC wayland 2/9] wayland-egl: correct wayland-egl.pc description/version

2017-09-29 Thread Emil Velikov
On 15 September 2017 at 11:29, Emil Velikov wrote: > From: Emil Velikov > > Drop the "Mesa" part from the commit message and change the version to > XXX. The number is based on the following users (and suppliers). > > Note: the "users" list was pulled from Ubuntu 17.04. > > Providers: > - Mali:

Re: [PATCH weston v12 03/40] [TEST] compositor-drm: Allow disabling universal planes

2017-09-29 Thread Pekka Paalanen
On Tue, 26 Sep 2017 18:15:36 +0100 Daniel Stone wrote: > Add a test environment variable to allow disabling universal planes. > > Signed-off-by: Daniel Stone > --- > libweston/compositor-drm.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/libweston/compositor-

Re: [PATCH weston v3 0/4] Emit GPU rendering timepoints in weston timeline

2017-09-29 Thread Pekka Paalanen
On Wed, 27 Sep 2017 15:09:12 +0300 Alexandros Frantzis wrote: > This patchset adds support for emitting GPU rendering timepoints in the > weston timeline. > > The GPU timestamp data is acquired asynchronously using the functionality > provided by the EGL_KHR_fence_sync and EGL_ANDROID_native_fen