Check AUL_HWACC environment variable 59/215359/2
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 7 Oct 2019 09:42:25 +0000 (18:42 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 7 Oct 2019 09:44:36 +0000 (18:44 +0900)
To improve launching performance, appcore-efl checks whether the
environment variable is set or not.

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/launchpad/+/215358/

Change-Id: Ida4517eaac66ec19749d8926fb1e4c6c4d392c20
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/efl_base/appcore_efl_base.c

index dff9751..5ceade0 100644 (file)
@@ -184,7 +184,8 @@ static void __efl_app_init(int argc, char **argv, void *data)
        elm_init(argc, argv);
 
        hint = appcore_efl_base_get_hint();
-       if (hint & APPCORE_EFL_BASE_HINT_HW_ACC_CONTROL) {
+       if ((hint & APPCORE_EFL_BASE_HINT_HW_ACC_CONTROL) &&
+                       !getenv("AUL_HWACC")) {
                hwacc = getenv("HWACC");
                if (hwacc == NULL) {
                        _DBG("elm_config_accel_preference_set is not called");