cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=cf730014cfccf7f8c0fa86af2440ed7439c43101
commit cf730014cfccf7f8c0fa86af2440ed7439c43101 Author: Nicolas Aguirre <[email protected]> Date: Thu Feb 12 08:29:40 2015 +0100 evas: symetric lock/unlock calls in gl_cocoa backend. this code add symetric calls to lock and unlock focus view Signed-off-by: Cedric BAIL <[email protected]> --- src/modules/evas/engines/gl_cocoa/evas_engine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/evas/engines/gl_cocoa/evas_engine.c b/src/modules/evas/engines/gl_cocoa/evas_engine.c index e0a0111..5da4743 100644 --- a/src/modules/evas/engines/gl_cocoa/evas_engine.c +++ b/src/modules/evas/engines/gl_cocoa/evas_engine.c @@ -200,6 +200,7 @@ eng_output_redraws_rect_add(void *data, int x, int y, int w, int h) if ((y + h - 1) > re->win->draw.y2) re->win->draw.y2 = y + h - 1; } re->win->draw.redraw = 1; + eng_window_unlock_focus(re->win); } static void @@ -299,7 +300,7 @@ eng_output_flush(void *data, Evas_Render_Mode render_mode) #ifdef VSYNC_TO_SCREEN eng_window_vsync_set(1); #endif - + eng_window_lock_focus(re->win); eng_window_swap_buffers(re->win); eng_window_unlock_focus(re->win); } --
