Make sure that global variables are initialized lazily. 45/288045/4
authorhuayong.xu <huayong.xu@samsung.com>
Thu, 9 Feb 2023 12:06:46 +0000 (20:06 +0800)
committerhuayong.xu <huayong.xu@samsung.com>
Mon, 13 Feb 2023 02:24:02 +0000 (10:24 +0800)
commitd1ece852ca9b3bb35b58919079d05d5c446743af
treed27ac085f673f61cb7232d9320f065f515a494ee
parenta96ad9c8ac26fbc2799a96bc298f3e6d1136c4b8
Make sure that global variables are initialized lazily.

Global variables are initialized before main function or
when dali-core so is loaded firstly.
This patch is to reduce loading time of dali in theory.

Change-Id: If644ff61bdc27d268e913d9455bfa506bcea5892
dali/devel-api/adaptor-framework/accessibility.cpp
dali/internal/accessibility/bridge/dbus/dbus-tizen.cpp [changed mode: 0644->0755]
dali/internal/graphics/gles-impl/gles-graphics-pipeline-cache.cpp [changed mode: 0644->0755]
dali/internal/input/common/key-impl.cpp