From 4e052ba32a213699d3a6cfb9e1e2ab36d0b190bc Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Mon, 7 Oct 2019 18:42:25 +0900 Subject: [PATCH] Check AUL_HWACC environment variable 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 --- src/efl_base/appcore_efl_base.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/efl_base/appcore_efl_base.c b/src/efl_base/appcore_efl_base.c index dff9751..5ceade0 100644 --- a/src/efl_base/appcore_efl_base.c +++ b/src/efl_base/appcore_efl_base.c @@ -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"); -- 2.7.4