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;
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));
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,