summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2015-06-02 16:43:20 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2015-06-02 19:22:39 +0900
commite0e29b902b1d199e3aae31b0f284cbd383471542 (patch)
treeeb8d0c5198c58be4b4d328e4f66df53edf4529c1
parent19b3887f2333f927f5e8edcd8687abce33c8bc36 (diff)
examples: Replace preferred engine "opengl_x11" with accel preference "3d".
Replace preferred engine "opengl_x11" with accel preference "3d".
-rw-r--r--src/examples/evas3d_map_example.c2
-rw-r--r--src/examples/evas3d_object_on_button_example.c2
-rw-r--r--src/examples/evas3d_scene_on_button_example.c2
-rw-r--r--src/examples/sphere_hunter/evas_3d_sphere_hunter.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/evas3d_map_example.c b/src/examples/evas3d_map_example.c
index 692d83596..b1cc2477e 100644
--- a/src/examples/evas3d_map_example.c
+++ b/src/examples/evas3d_map_example.c
@@ -1185,7 +1185,7 @@ elm_main(int argc, char **argv)
1185 1185
1186 elm_app_info_set(elm_main, "elementary", "examples/evas3d_map_example.edj"); 1186 elm_app_info_set(elm_main, "elementary", "examples/evas3d_map_example.edj");
1187 1187
1188 elm_config_preferred_engine_set("opengl_x11"); 1188 elm_config_accel_preference_set("3d");
1189 1189
1190 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 1190 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
1191 1191
diff --git a/src/examples/evas3d_object_on_button_example.c b/src/examples/evas3d_object_on_button_example.c
index bcf642662..b578e58af 100644
--- a/src/examples/evas3d_object_on_button_example.c
+++ b/src/examples/evas3d_object_on_button_example.c
@@ -296,7 +296,7 @@ elm_main(int argc, char **argv)
296{ 296{
297 Scene_Data data; 297 Scene_Data data;
298 298
299 elm_config_preferred_engine_set("opengl_x11"); 299 elm_config_accel_preference_set("3d");
300 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 300 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
301 301
302 win = elm_win_util_standard_add("evas3d-object-button", "A button on the 3d object"); 302 win = elm_win_util_standard_add("evas3d-object-button", "A button on the 3d object");
diff --git a/src/examples/evas3d_scene_on_button_example.c b/src/examples/evas3d_scene_on_button_example.c
index 55a567e85..f1f014ba9 100644
--- a/src/examples/evas3d_scene_on_button_example.c
+++ b/src/examples/evas3d_scene_on_button_example.c
@@ -273,7 +273,7 @@ elm_main(int argc, char **argv)
273{ 273{
274 Scene_Data data; 274 Scene_Data data;
275 275
276 elm_config_preferred_engine_set("opengl_x11"); 276 elm_config_accel_preference_set("3d");
277 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 277 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
278 278
279 win = elm_win_util_standard_add("evas3d-scene-button", "3d object on the button"); 279 win = elm_win_util_standard_add("evas3d-scene-button", "3d object on the button");
diff --git a/src/examples/sphere_hunter/evas_3d_sphere_hunter.c b/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
index 1174b671b..5036e29e8 100644
--- a/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
+++ b/src/examples/sphere_hunter/evas_3d_sphere_hunter.c
@@ -854,7 +854,7 @@ elm_main(int argc, char **argv)
854 Scene_Data data; 854 Scene_Data data;
855 Eina_Bool r = EINA_TRUE; 855 Eina_Bool r = EINA_TRUE;
856 856
857 setenv("ELM_ENGINE", "opengl_x11", 1); 857 setenv("ELM_ACCEL", "3d", 1);
858 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); 858 elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
859 859
860 win = elm_win_util_standard_add("__WIN__", "Sphere Hunter"); 860 win = elm_win_util_standard_add("__WIN__", "Sphere Hunter");