jayji pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=27a62edd68fae2f00be0214993dad34309084947
commit 27a62edd68fae2f00be0214993dad34309084947 Author: Jean Guyomarc'h <[email protected]> Date: Thu Mar 9 00:31:51 2017 +0100 gl_cocoa: use triple buffering Interestingly enough, this makes some graphical artifacts vanish... --- src/modules/evas/engines/gl_cocoa/evas_outbuf.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/evas/engines/gl_cocoa/evas_outbuf.m b/src/modules/evas/engines/gl_cocoa/evas_outbuf.m index 4a8e176..80f5794 100644 --- a/src/modules/evas/engines/gl_cocoa/evas_outbuf.m +++ b/src/modules/evas/engines/gl_cocoa/evas_outbuf.m @@ -30,7 +30,7 @@ static int _win_count = 0; { const NSOpenGLPixelFormatAttribute attributes[] = { NSOpenGLPFAAccelerated, - NSOpenGLPFADoubleBuffer, + NSOpenGLPFATripleBuffer, 0 /* Terminator */ }; return [[[NSOpenGLPixelFormat alloc] initWithAttributes:attributes] autorelease]; @@ -117,7 +117,7 @@ evas_outbuf_new(Evas_Engine_Info_GL_Cocoa *info, ob->info = info; ob->ns_window = info->window; ob->rot = 0; - ob->swap_mode = MODE_DOUBLE; + ob->swap_mode = MODE_TRIPLE; glview = [[EvasGLView alloc] initWithFrame: NSMakeRect(0, 0, w, h)]; if (EINA_UNLIKELY(!glview)) --
