Re: [Mesa-dev] [PATCH 10/11] egl/wayland: Remove duplicate wl_buffer creation code

2017-07-12 Thread Lucas Stach
Am Freitag, den 07.07.2017, 16:34 +0100 schrieb Daniel Stone: > Hi, > > On 28 June 2017 at 16:35, Lucas Stach wrote: > > Am Freitag, den 16.06.2017, 18:14 +0100 schrieb Daniel Stone: > >> if (dri2_dpy->capabilities & WL_DRM_CAPABILITY_PRIME) { > >> + struct

Re: [Mesa-dev] [PATCH 10/11] egl/wayland: Remove duplicate wl_buffer creation code

2017-07-07 Thread Daniel Stone
Hi, On 28 June 2017 at 16:35, Lucas Stach wrote: > Am Freitag, den 16.06.2017, 18:14 +0100 schrieb Daniel Stone: >> if (dri2_dpy->capabilities & WL_DRM_CAPABILITY_PRIME) { >> + struct wl_drm *wl_drm = >> + dri2_surf ? dri2_surf->wl_drm_wrapper :

Re: [Mesa-dev] [PATCH 10/11] egl/wayland: Remove duplicate wl_buffer creation code

2017-06-28 Thread Lucas Stach
Am Freitag, den 16.06.2017, 18:14 +0100 schrieb Daniel Stone: > Now create_wl_buffer is generic enough, we can use it for the > EGL_WL_create_wayland_buffer_from_image extension. > > Signed-off-by: Daniel Stone > --- > src/egl/drivers/dri2/platform_wayland.c | 71 >

[Mesa-dev] [PATCH 10/11] egl/wayland: Remove duplicate wl_buffer creation code

2017-06-16 Thread Daniel Stone
Now create_wl_buffer is generic enough, we can use it for the EGL_WL_create_wayland_buffer_from_image extension. Signed-off-by: Daniel Stone --- src/egl/drivers/dri2/platform_wayland.c | 71 + 1 file changed, 11 insertions(+), 60