raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=38cb8fcbe0f0a38db70cf133bb85890d52102c92
commit 38cb8fcbe0f0a38db70cf133bb85890d52102c92 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Wed Dec 24 17:35:27 2014 +0900 ecore x vsync - disable ecore_x vsync daemon due to unresolved problems --- src/lib/ecore_x/xlib/ecore_x_vsync.c | 9 ++++++++- 1 file changed, 8 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 bc4b70e..435e173 100644 --- a/src/lib/ecore_x/xlib/ecore_x_vsync.c +++ b/src/lib/ecore_x/xlib/ecore_x_vsync.c @@ -631,8 +631,10 @@ _drm_animator_tick_source_set(void) +// disable gl vsync for now - nvidia doesnt work well. +//#define ECORE_X_VSYNC_GL 1 - +#ifdef ECORE_X_VSYNC_GL static Ecore_Con_Server *vsync_server = NULL; static Eina_Bool handlers = EINA_FALSE; static Eina_Prefix *_prefix = NULL; @@ -766,6 +768,7 @@ _glvsync_animator_tick_source_set(void) } return EINA_TRUE; } +#endif // XXX: missing mode 3 == separate x connection with compiled in dri2 proto // handling ala mesa (taken from mesa likely) @@ -851,10 +854,14 @@ ecore_x_vsync_animator_tick_source_set(Ecore_X_Window win) vsync_root = root; #ifdef ECORE_X_VSYNC_DRM if (mode == 1) return _drm_animator_tick_source_set(); +# ifdef ECORE_X_VSYNC_GL else +# endif #endif +#ifdef ECORE_X_VSYNC_GL if (mode == 2) return _glvsync_animator_tick_source_set(); else return EINA_FALSE; +#endif } return EINA_TRUE; } --
