From e00171fad38e87502189974557d0c1f7c94d95d5 Mon Sep 17 00:00:00 2001 From: raster Date: Tue, 2 Feb 2010 11:50:49 +0000 Subject: [PATCH] move to eglwaitnative - still doesnt help tho:( git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@45802 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/modules/engines/gl_x11/evas_engine.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/engines/gl_x11/evas_engine.c b/src/modules/engines/gl_x11/evas_engine.c index d537700..c263940 100644 --- a/src/modules/engines/gl_x11/evas_engine.c +++ b/src/modules/engines/gl_x11/evas_engine.c @@ -430,7 +430,7 @@ eng_output_redraws_next_update_push(void *data, void *surface __UNUSED__, int x re->win->draw.drew = 1; evas_gl_common_context_flush(re->win->gl_context); #if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) - eglWaitGL(); // previous rendering should be done and swapped + eglWaitNative(EGL_CORE_NATIVE_ENGINE); // previous rendering should be done and swapped #else glXWaitGL(); #endif @@ -450,7 +450,6 @@ eng_output_flush(void *data) #if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX) eglSwapBuffers(re->win->egl_disp, re->win->egl_surface[0]); - eglWaitGL(); // excessive - swapbuffers should wait in windowed mode #else #ifdef VSYNC_TO_SCREEN if (re->info->vsync) -- 2.7.4