evas/evas_engine - patched by Seung-Soo Woo.
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 11 Jul 2011 06:29:20 +0000 (06:29 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 11 Jul 2011 06:29:20 +0000 (06:29 +0000)
Dear all,

There is a below issue.

Problem : Evas gl engine call eglWaitNative() and eglWaitGL() before/after eglSwapBuffers().
The sync APIs are not call only in case of SGX_DDK.
Resolution : It is necessary to check MALI string too.

So, I fixed it.
Please find enclosed file.

Thanks.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61226 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/gl_x11/evas_engine.c

index ab0b475..a7a8ad2 100644 (file)
@@ -655,7 +655,8 @@ eng_output_redraws_next_update_push(void *data, void *surface __UNUSED__, int x
              s = (const char *)glGetString(GL_RENDERER);
              if (s)
                {
-                  if (strstr(s, "PowerVR SGX 540"))
+                  if (strstr(s, "PowerVR SGX 540") ||
+                     strstr(s, "Mali-400 MP"))
                      safe_native = 1;
                }
           }