derekf pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6a65253f68a03445031601b03b51ac73a2961bf1
commit 6a65253f68a03445031601b03b51ac73a2961bf1 Author: Derek Foreman <der...@osg.samsung.com> Date: Wed Oct 19 16:04:02 2016 -0500 wayland_egl: Remove weirdo buffer age kludge cargo culted from gl_x11 There's no reason why we'd need a full redraw if the buffer age for this buffer isn't the same as the buffer age for the last buffer, so let's cut out this thing. --- src/modules/evas/engines/wayland_egl/evas_engine.h | 2 +- src/modules/evas/engines/wayland_egl/evas_wl_main.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.h b/src/modules/evas/engines/wayland_egl/evas_engine.h index 0441a34..bae5172 100644 --- a/src/modules/evas/engines/wayland_egl/evas_engine.h +++ b/src/modules/evas/engines/wayland_egl/evas_engine.h @@ -66,7 +66,7 @@ struct _Outbuf Evas_Engine_GL_Context *gl_context; Render_Engine_Swap_Mode swap_mode; - int prev_age, vsync; + int vsync; int frame_cnt; struct diff --git a/src/modules/evas/engines/wayland_egl/evas_wl_main.c b/src/modules/evas/engines/wayland_egl/evas_wl_main.c index bd92719..9c03d24 100644 --- a/src/modules/evas/engines/wayland_egl/evas_wl_main.c +++ b/src/modules/evas/engines/wayland_egl/evas_wl_main.c @@ -382,9 +382,6 @@ eng_outbuf_swap_mode_get(Outbuf *ob) else if (age == 4) swap_mode = MODE_QUADRUPLE; else swap_mode = MODE_FULL; - if ((int)age != ob->prev_age) swap_mode = MODE_FULL; - ob->prev_age = age; - return swap_mode; } --