Disables HWC(HW compositor) to reduce memory usage 04/108004/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_wearable accepted/tizen_3.0_common accepted/tizen_3.0_mobile accepted/tizen_3.0_wearable tizen_3.0 tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.100216 accepted/tizen/3.0.m2/wearable/20170104.100944 accepted/tizen/3.0/common/20170103.073506 accepted/tizen/3.0/mobile/20170103.011353 accepted/tizen/3.0/wearable/20170103.011419 submit/tizen_3.0.m2/20170104.093748 submit/tizen_3.0/20170102.093850
authorGeunsun, Lee <gs86.lee@samsung.com>
Mon, 2 Jan 2017 09:29:41 +0000 (18:29 +0900)
committerGeunsun, Lee <gs86.lee@samsung.com>
Mon, 2 Jan 2017 09:29:41 +0000 (18:29 +0900)
Change-Id: I9499091b1253d54725d6b3b80d66079ad48a4ee7

CMakeLists.txt
src/animation.c

index a52197c..3ec6636 100644 (file)
@@ -118,9 +118,6 @@ INSTALL(FILES ${CMAKE_BINARY_DIR}/480x800_PowerOn.edj DESTINATION share/edje)
 INSTALL(FILES ${CMAKE_BINARY_DIR}/480x800_PowerOff.edj DESTINATION share/edje)
 INSTALL(FILES ${CMAKE_BINARY_DIR}/720x1280_PowerOn.edj DESTINATION share/edje)
 INSTALL(FILES ${CMAKE_BINARY_DIR}/720x1280_PowerOff.edj DESTINATION share/edje)
-IF("${TIZEN_PROFILE_NAME}" STREQUAL "wearable")
-ADD_DEFINITIONS("-DTIZEN_PROFILE_WEARABLE")
-ENDIF()
 IF("${ARCH}" STREQUAL "emulator")
 ADD_DEFINITIONS("-DEMULATOR_TYPE")
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/data/sound/SDK_poweron/poweron.wav DESTINATION share/keysound)
index 0158f75..eeeeb9d 100644 (file)
@@ -199,12 +199,9 @@ static int create_window(void)
 
        int x, y = 0;
 
-#ifdef TIZEN_PROFILE_WEARABLE
-       _D("Use GL back-end");
-       elm_config_accel_preference_set("3d");
-#endif
-
        s_animation.win = elm_win_add(NULL, "BOOT_ANIMATION", ELM_WIN_NOTIFICATION);
+       elm_win_aux_hint_add(s_animation.win, "wm.comp.win.always.selective.mode", "1");
+
        elm_win_role_set(s_animation.win, "alert");
        if (!s_animation.win) {
                _E("Failed to create a new window");