From cab603c7057be86105b32454d9dda719da0c2a3a Mon Sep 17 00:00:00 2001 From: "joonbum.ko" Date: Fri, 21 Apr 2017 08:48:33 +0900 Subject: [PATCH] tpl_wayland_egl_thread: Removed tbm_surface_queue_h from input parameter. Change-Id: Ie1bedbcf6cd0ebc6ce931637d270959407a8fdba Signed-off-by: joonbum.ko --- src/tpl_wayland_egl_thread.c | 4 +--- src/tpl_wayland_egl_thread.h | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/tpl_wayland_egl_thread.c b/src/tpl_wayland_egl_thread.c index 6a9249a..a673373 100644 --- a/src/tpl_wayland_egl_thread.c +++ b/src/tpl_wayland_egl_thread.c @@ -356,8 +356,7 @@ static GSourceFuncs _twe_wl_surface_funcs = { int twe_thread_add_wl_surface(twe_thread* thread, - struct wl_surface *surface, - tbm_surface_queue_h surface_queue) + struct wl_surface *surface) { twe_thread_context *ctx = thread->ctx; twe_wl_surf_source *source = NULL; @@ -382,7 +381,6 @@ twe_thread_add_wl_surface(twe_thread* thread, source->event_fd, G_IO_IN); source->surf = surface; - source->tbm_surface_queue = surface_queue; g_source_set_callback(&source->gsource, NULL, surface, NULL); g_source_attach(&source->gsource, g_main_loop_get_context(ctx->twe_loop)); diff --git a/src/tpl_wayland_egl_thread.h b/src/tpl_wayland_egl_thread.h index e37700e..c5ab0c5 100644 --- a/src/tpl_wayland_egl_thread.h +++ b/src/tpl_wayland_egl_thread.h @@ -22,8 +22,7 @@ twe_thread_del_wl_display(twe_thread* thread, int twe_thread_add_wl_surface(twe_thread* thread, - struct wl_surface *surface, - tbm_surface_queue_h tbm_queue); + struct wl_surface *surface); void twe_thread_del_wl_surface(twe_thread* thread, -- 2.7.4