[EFL] fix Evas GL engine error.
authorhyuki.kim@samsung.com <hyuki.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Feb 2015 03:13:01 +0000 (03:13 +0000)
committerhyuki.kim@samsung.com <hyuki.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 16 Feb 2015 03:13:01 +0000 (03:13 +0000)
https://bugs.webkit.org/show_bug.cgi?id=141621

Reviewed by Gyuyoung Kim.

As new elm engine api was added from efl 1.10, replace elm_config_preferred_engine_set with elm_config_accel_preference_set.

* MiniBrowser/efl/main.c:
(elm_main):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@180134 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/MiniBrowser/efl/main.c

index 062e62a..5193273 100644 (file)
@@ -1,3 +1,15 @@
+2015-02-15  KwangHyuk Kim  <hyuki.kim@samsung.com>
+
+        [EFL] fix Evas GL engine error.
+        https://bugs.webkit.org/show_bug.cgi?id=141621
+
+        Reviewed by Gyuyoung Kim.
+
+        As new elm engine api was added from efl 1.10, replace elm_config_preferred_engine_set with elm_config_accel_preference_set.
+
+        * MiniBrowser/efl/main.c:
+        (elm_main):
+
 2015-02-14  Csaba Osztrogon√°c  <ossy@webkit.org>
 
         [buildbot] Enable run-api-tests on release Mac bots
index d15ce2b..cbfb733 100644 (file)
@@ -2392,11 +2392,11 @@ elm_main(int argc, char *argv[])
         return quit(EINA_TRUE, NULL);
 
     if (evas_engine_name)
-        elm_config_preferred_engine_set(evas_engine_name);
+        elm_config_accel_preference_set(evas_engine_name);
 #if defined(HAVE_ECORE_X)
     else {
-        evas_engine_name = "opengl_x11";
-        elm_config_preferred_engine_set(evas_engine_name);
+        evas_engine_name = "opengl";
+        elm_config_accel_preference_set(evas_engine_name);
     }
 #endif