raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=0e330cfbe4979ccb395cc32d004081ea2155f500
commit 0e330cfbe4979ccb395cc32d004081ea2155f500 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Fri Aug 1 18:59:18 2014 +0900 fix wakeups to not happen for now until i fix vsync --- src/lib/ecore_x/xlib/ecore_x_vsync.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/ecore_x/xlib/ecore_x_vsync.c b/src/lib/ecore_x/xlib/ecore_x_vsync.c index aeaeb68..dbc32c0 100644 --- a/src/lib/ecore_x/xlib/ecore_x_vsync.c +++ b/src/lib/ecore_x/xlib/ecore_x_vsync.c @@ -175,8 +175,11 @@ _drm_vblank_handler(int fd EINA_UNUSED, static Eina_Bool _drm_cb(void *data EINA_UNUSED, - Ecore_Fd_Handler *fd_handler EINA_UNUSED) + Ecore_Fd_Handler *fd_handler EINA_UNUSED) { + // XXX: move this to a thread whose only job it is to select on the drm + // fd and get the first vsync and send it back to the mainloop to wakeup + // and ignore the others sym_drmHandleEvent(drm_fd, &drm_evctx); return ECORE_CALLBACK_RENEW; } @@ -504,6 +507,8 @@ ecore_x_vsync_animator_tick_source_set(Ecore_X_Window win) { Ecore_X_Window root; +// XXX: disable vsync for now until i fix this + return EINA_FALSE; root = ecore_x_window_root_get(win); if (root != vsync_root) { --
