struct wl_proxy *wl_proxy; /* wl_buffer proxy */
};
-static const struct wl_callback_listener sync_listener;
static const struct wl_buffer_listener buffer_release_listener;
static int tpl_wayland_egl_buffer_key;
}
static void
-__cb_client_sync_callback(void *data, struct wl_callback *callback,
- uint32_t serial)
-{
- int *done;
-
- TPL_ASSERT(data);
-
- done = data;
- *done = 1;
-
- wl_callback_destroy(callback);
-}
-
-static const struct wl_callback_listener sync_listener = {
- __cb_client_sync_callback
-};
-
-static void
__cb_client_buffer_release_callback(void *data, struct wl_proxy *proxy)
{
tbm_surface_h tbm_surface = NULL;