[EFL] fix EvasGL configuration error
authorhyuki.kim@samsung.com <hyuki.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Nov 2015 14:12:51 +0000 (14:12 +0000)
committerhyuki.kim@samsung.com <hyuki.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 12 Nov 2015 14:12:51 +0000 (14:12 +0000)
https://bugs.webkit.org/show_bug.cgi?id=151180

Reviewed by Csaba Osztrogonác.

EvasGL backend and depth, stencil buffer size should be specified before elm_win_add to let EvasGL keep quiet.
Additionally, duplicated elm_config_accel_preference_set() call is eleminated.

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

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

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

index 0daed75..6cc5c30 100644 (file)
@@ -1,3 +1,17 @@
+2015-11-12  KwangHyuk Kim  <hyuki.kim@samsung.com>
+
+        [EFL] fix EvasGL configuration error
+        https://bugs.webkit.org/show_bug.cgi?id=151180
+
+        Reviewed by Csaba Osztrogonác.
+
+        EvasGL backend and depth, stencil buffer size should be specified before elm_win_add to let EvasGL keep quiet.
+        Additionally, duplicated elm_config_accel_preference_set() call is eleminated.  
+
+        * MiniBrowser/efl/main.c:
+        (window_create):
+        (elm_main):
+
 2015-11-12  Csaba Osztrogonác  <ossy@webkit.org>
 
         [EFL] Fix EFL 1.16 with enabled NEON support
index 6a15f27..16031d4 100644 (file)
@@ -2071,8 +2071,6 @@ static Browser_Window *window_create(Ewk_View_Configuration* configuration, int
     window->tooltip.text_set = EINA_FALSE;
     window->tooltip.shown = EINA_FALSE;
 
-    elm_config_accel_preference_set("opengl:depth24:stencil8");
-
     /* Create window */
     window->elm_window = elm_win_add(NULL, "minibrowser-window", ELM_WIN_BASIC);
     elm_win_title_set(window->elm_window, APP_NAME);
@@ -2440,7 +2438,7 @@ elm_main(int argc, char *argv[])
     if (evas_engine_name)
         elm_config_accel_preference_set(evas_engine_name);
     else {
-        evas_engine_name = "opengl";
+        evas_engine_name = "opengl:depth24:stencil8";
         elm_config_accel_preference_set(evas_engine_name);
     }