From 96e75d234a4df1a09f38eaf932d00d79dccdc324 Mon Sep 17 00:00:00 2001 From: Alexander Preisinger Date: Sat, 4 Jan 2014 17:19:24 +0100 Subject: wayland/egl: use redraw callback This solves the issue where we would not receive any frame events. The difference to my earlier tests is that now it looks like eglSwapBuffers uses it's own event queue or something similiar along the lines. Becaues the performance is the same as without any redraw callback. --- video/out/wayland_common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'video/out/wayland_common.h') diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h index ac5fc3cf39..e8e0420706 100644 --- a/video/out/wayland_common.h +++ b/video/out/wayland_common.h @@ -60,6 +60,9 @@ struct vo_wayland_state { EGLContext ctx; EGLConfig conf; } egl; + + + struct wl_callback * redraw_callback; } egl_context; #endif -- cgit v1.2.3