};
static struct wayland_tbm_client*
-_twe_thread_init_wl_tbm_client(struct wl_display *display,
+_twe_display_init_wl_tbm_client(struct wl_display *display,
struct wl_event_queue *ev_queue)
{
struct wl_proxy *wl_tbm = NULL;
}
static void
-_twe_thread_fini_wl_tbm_client(struct wayland_tbm_client *wl_tbm_client)
+_twe_display_fini_wl_tbm_client(struct wayland_tbm_client *wl_tbm_client)
{
struct wl_proxy *wl_tbm = NULL;
return NULL;
}
- wl_tbm_client = _twe_thread_init_wl_tbm_client(display, ev_queue);
+ wl_tbm_client = _twe_display_init_wl_tbm_client(display, ev_queue);
if (!wl_tbm_client) {
TPL_ERR("Failed to create wl_tbm_client.");
wl_event_queue_destroy(ev_queue);
thread = source->thread;
/* TODO : disp_source will be removed from displays list in thread */
- _twe_thread_fini_wl_tbm_client(source->wl_tbm_client);
+ _twe_display_fini_wl_tbm_client(source->wl_tbm_client);
source->wl_tbm_client = NULL;
g_source_remove_poll(&source->gsource, &source->gfd);