egl/wayland: Remove duplicate wl_buffer creation code
authorDaniel Stone <daniels@collabora.com>
Fri, 16 Jun 2017 16:37:19 +0000 (17:37 +0100)
committerDaniel Stone <daniels@collabora.com>
Tue, 18 Jul 2017 21:16:21 +0000 (22:16 +0100)
commitcfaca5742e40371bdc6b317569cb847d6bd4eeb0
treeddfa26d41619636b0b1f5429ca86c580a7f10afb
parent6595c6995114f4eb56b5a58f18aa954960462a92
egl/wayland: Remove duplicate wl_buffer creation code

Now create_wl_buffer is generic enough, we can use it for the
EGL_WL_create_wayland_buffer_from_image extension.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_wayland.c