Lines Matching defs:callback
20 struct wl_callback *callback;
52 sync_callback(void *data, struct wl_callback *callback, uint32_t serial)
57 wl_callback_destroy(callback);
67 struct wl_callback *callback;
70 callback = wl_display_sync(display);
71 wl_callback_add_listener(callback, &sync_listener, &done);
76 wl_callback_destroy(callback);
140 if (window.callback)
141 wl_callback_destroy(window.callback);
145 draw(void *data, struct wl_callback *callback, uint32_t time);
152 draw(void *data, struct wl_callback *callback, uint32_t time)
157 if (callback) {
158 wl_callback_destroy(callback);
159 window->callback = NULL;
170 window->callback = wl_surface_frame(window->surface);
171 wl_callback_add_listener(window->callback, &frame_listener, window);
197 if (_eglut->redisplay && !window.callback)