Re: [Mesa-dev] [PATCH 1/2] wayland-drm: use a copy of the wayland_drm_callbacks struct

2017-10-04 Thread Emil Velikov
On 4 October 2017 at 11:46, Daniel Stone wrote: > Hi Emil, > > On 27 September 2017 at 19:49, Emil Velikov wrote: >> The callbacks may be called even when they are no longer valid. >> Say, the user is dlclose(ing) libEGL while the buffers are being

Re: [Mesa-dev] [PATCH 1/2] wayland-drm: use a copy of the wayland_drm_callbacks struct

2017-10-04 Thread Daniel Stone
Hi Emil, On 27 September 2017 at 19:49, Emil Velikov wrote: > The callbacks may be called even when they are no longer valid. > Say, the user is dlclose(ing) libEGL while the buffers are being > destroyed. Series looks good to me, but if the user calls dlclose on EGL

Re: [Mesa-dev] [PATCH 1/2] wayland-drm: use a copy of the wayland_drm_callbacks struct

2017-10-03 Thread Emil Velikov
Hi Dan, On 27 September 2017 at 19:49, Emil Velikov wrote: > From: Emil Velikov > > The callbacks may be called even when they are no longer valid. > Say, the user is dlclose(ing) libEGL while the buffers are being > destroyed. > > Cc:

[Mesa-dev] [PATCH 1/2] wayland-drm: use a copy of the wayland_drm_callbacks struct

2017-09-27 Thread Emil Velikov
From: Emil Velikov The callbacks may be called even when they are no longer valid. Say, the user is dlclose(ing) libEGL while the buffers are being destroyed. Cc: Daniel Stone Cc: Derek Foreman Cc: