[Tizen] Change dali.sh to dali-legacy.sh 97/238497/1 accepted/tizen/unified/20200715.002040 submit/tizen/20200714.093003
authorSeungho, Baek <sbsh.baek@samsung.com>
Tue, 14 Jul 2020 11:06:35 +0000 (20:06 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Tue, 14 Jul 2020 11:11:23 +0000 (20:11 +0900)
Change-Id: Ib798d3fc3480f72efb3b6f96571189b129da65fa
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
packaging/dali-extension.spec
scripts/dali-legacy.sh [new file with mode: 0644]
scripts/dali.sh [deleted file]

index 9fd6d0d8ad7cf9d1d677c0aa17a03658774e9fd1..3f64e498cc1de7870678da095ad2fb22af8cfeb0 100755 (executable)
@@ -211,9 +211,9 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 
-# install dali.sh
+# install dali-legacy.sh
 mkdir -p %{buildroot}%{_sysconfdir}/profile.d
-install -m 0644 scripts/dali.sh %{buildroot}%{_sysconfdir}/profile.d
+install -m 0644 scripts/dali-legacy.sh %{buildroot}%{_sysconfdir}/profile.d
 
 cd build/tizen
 %make_install DALI_DATA_RW_DIR="%{dali_data_rw_dir}" DALI_DATA_RO_DIR="%{dali_data_ro_dir}"
@@ -319,7 +319,7 @@ exit 0
 %files
 %manifest dali-extension.manifest
 %defattr(-,root,root,-)
-%{_sysconfdir}/profile.d/dali.sh
+%{_sysconfdir}/profile.d/dali-legacy.sh
 %{_libdir}/libdali-extension.so*
 %license LICENSE
 
diff --git a/scripts/dali-legacy.sh b/scripts/dali-legacy.sh
new file mode 100644 (file)
index 0000000..594cf23
--- /dev/null
@@ -0,0 +1,134 @@
+# This script set environment value for dali
+
+# 1. Introduction
+#  this script is executed when device is booted.
+#  when device is booted, environment values are applied across system wide.
+#  it means every dali applications are affected to this script.
+#  if developer want specific environment value,
+#  please remove '#' from the desired environment value and reboot to apply the changes
+
+# 2. Example
+
+# @ Enable ttrace for checking
+#  This environment value can enable ttrace
+#
+#   DALI_PERFORMANCE_TIMESTAMP_OUTPUT=4
+#
+#  Where timestamped events for update/render/event and custom events are output.
+#  See TimeStampOutput in performance-interface.h for values
+#
+#   0:NO_TIME_STAMP_OUTPUT, 1:OUTPUT_DALI_LOG, 2:OUTPUT_KERNEL_TRACE, 4:OUTPUT_SYSTEM_TRACE, 8:OUTPUT_NETWORK
+
+#export DALI_PERFORMANCE_TIMESTAMP_OUTPUT=4
+
+
+# @ Enable log for checking performance
+#  What performance statistics are logged out to dlog
+#  see StatisticsLogOptions in performance-interface.h for values
+#
+#   0:DISABLED, 1:LOG_EVERYTHING, 2:LOG_UPDATE_RENDER, 4:LOG_EVENT_PROCESS, 8:LOG_CUSTOM_MARKERS
+
+#export DALI_LOG_PERFORMANCE_STAT=1
+
+
+# @ Allow control and monitoring of DALi via the network
+#export DALI_NETWORK_CONTROL=1
+
+# @ environment variable for enabling/disabling fps tracking
+#export DALI_FPS_TRACKING=1
+#export DALI_UPDATE_STATUS_INTERVAL=1
+#export DALI_OBJECT_PROFILER_INTERVAL=1
+
+# @ Set the the graphics status time
+#export DALI_GLES_CALL_TIME=5
+
+# @ Whether or not to accumulate gles call statistics
+#export DALI_GLES_CALL_ACCUMULATE=1
+
+# @ Set dali window status
+#export DALI_WINDOW_WIDTH=400
+#export DALI_WINDOW_HEIGHT=400
+#export DALI_WINDOW_NAME=DALI_ENV_WINDOW
+#export DALI_WINDOW_CLASS_NAME=DALI_ENV_CLASS
+
+# @ Set the rate of render refresh
+#export DALI_REFRESH_RATE=30
+
+# @ Set the number of samples required in multisample buffers
+#export DALI_MULTI_SAMPLING_LEVEL=4
+
+# @ Set the maximum texture size that GL can handle
+#export DALI_MAX_TEXTURE_SIZE=512
+
+# @ Set the mode of indicator visible
+#  IndicatorVisibleMode
+#  {
+#    INVISIBLE = 0, ///< Hide indicator
+#    VISIBLE = 1, ///< Show indicator
+#    AUTO = 2 ///< Hide in default, will show when necessary
+#  };
+#export DALI_INDICATOR_VISIBLE_MODE=1
+
+# @ Set the number of frames
+#  The number of frames that are going to be rendered into the Frame Buffer Object
+#  but the last one which is going to be rendered into the Frame Buffer.
+#export DALI_RENDER_TO_FBO=2
+
+# @ Disable depth buffer
+#export DALI_DISABLE_DEPTH_BUFFER=1
+
+# @ Disable stencil buffer
+#export DALI_DISABLE_STENCIL_BUFFER=1
+
+# @ Set the configuration of Pan-Gesture
+# @ Prediction Modes 1 & 2:
+
+# @ prediction mode for pan gestures
+#export DALI_PAN_PREDICTION_MODE=1
+#export DALI_PAN_PREDICTION_AMOUNT=1
+#export DALI_PAN_SMOOTHING_MODE=1
+
+# @ Prediction Mode 1:
+#export DALI_PAN_MAX_PREDICTION_AMOUNT=1
+#export DALI_PAN_MIN_PREDICTION_AMOUNT=1
+#export DALI_PAN_PREDICTION_AMOUNT_ADJUSTMENT=1
+#export DALI_PAN_SMOOTHING_AMOUNT=1
+
+# @ Prediction Mode 2 :
+#export DALI_PAN_USE_ACTUAL_TIMES=1
+#export DALI_PAN_INTERPOLATION_TIME_RANGE=1
+#export DALI_PAN_SCALAR_ONLY_PREDICTION_ENABLED=1
+#export DALI_PAN_TWO_POINT_PREDICTION_ENABLED=1
+#export DALI_PAN_TWO_POINT_PAST_INTERPOLATE_TIME=1
+#export DALI_PAN_TWO_POINT_VELOCITY_BIAS=1
+#export DALI_PAN_TWO_POINT_ACCELERATION_BIAS=1
+#export DALI_PAN_MULTITAP_SMOOTHING_RANGE=1
+
+# @ Pan-Gesture miscellaneous :
+#export DALI_LOG_PAN_GESTURE=1
+#export DALI_PAN_MINIMUM_DISTANCE=1
+#export DALI_PAN_MINIMUM_EVENTS=1
+
+
+# @ Enable filter for checking detail log
+#  If you enable filter, you can check detail log.
+#  but for use it, you need to build dali pkg using debug option
+#
+#   gbs build -A armv7l --include-al --define "%enable_debug 1"
+#
+#  After build and install dali pkg using debug option, you can enable the filter you want.
+#  Most filters set 0 level, so you need to set 1~3 level using environment value.
+#
+#   enum LogLevel
+#   {
+#   NoLogging   = 0,
+#   Concise     = 1,
+#   General     = 2,
+#   Verbose     = 3
+#   };
+
+#export LOG_KEYBOARD_FOCUS_MANAGER=3
+#export LOG_TEXT_RENDERING=3
+#export LOG_WINDOW=3
+
+
diff --git a/scripts/dali.sh b/scripts/dali.sh
deleted file mode 100644 (file)
index 594cf23..0000000
+++ /dev/null
@@ -1,134 +0,0 @@
-# This script set environment value for dali
-
-# 1. Introduction
-#  this script is executed when device is booted.
-#  when device is booted, environment values are applied across system wide.
-#  it means every dali applications are affected to this script.
-#  if developer want specific environment value,
-#  please remove '#' from the desired environment value and reboot to apply the changes
-
-# 2. Example
-
-# @ Enable ttrace for checking
-#  This environment value can enable ttrace
-#
-#   DALI_PERFORMANCE_TIMESTAMP_OUTPUT=4
-#
-#  Where timestamped events for update/render/event and custom events are output.
-#  See TimeStampOutput in performance-interface.h for values
-#
-#   0:NO_TIME_STAMP_OUTPUT, 1:OUTPUT_DALI_LOG, 2:OUTPUT_KERNEL_TRACE, 4:OUTPUT_SYSTEM_TRACE, 8:OUTPUT_NETWORK
-
-#export DALI_PERFORMANCE_TIMESTAMP_OUTPUT=4
-
-
-# @ Enable log for checking performance
-#  What performance statistics are logged out to dlog
-#  see StatisticsLogOptions in performance-interface.h for values
-#
-#   0:DISABLED, 1:LOG_EVERYTHING, 2:LOG_UPDATE_RENDER, 4:LOG_EVENT_PROCESS, 8:LOG_CUSTOM_MARKERS
-
-#export DALI_LOG_PERFORMANCE_STAT=1
-
-
-# @ Allow control and monitoring of DALi via the network
-#export DALI_NETWORK_CONTROL=1
-
-# @ environment variable for enabling/disabling fps tracking
-#export DALI_FPS_TRACKING=1
-#export DALI_UPDATE_STATUS_INTERVAL=1
-#export DALI_OBJECT_PROFILER_INTERVAL=1
-
-# @ Set the the graphics status time
-#export DALI_GLES_CALL_TIME=5
-
-# @ Whether or not to accumulate gles call statistics
-#export DALI_GLES_CALL_ACCUMULATE=1
-
-# @ Set dali window status
-#export DALI_WINDOW_WIDTH=400
-#export DALI_WINDOW_HEIGHT=400
-#export DALI_WINDOW_NAME=DALI_ENV_WINDOW
-#export DALI_WINDOW_CLASS_NAME=DALI_ENV_CLASS
-
-# @ Set the rate of render refresh
-#export DALI_REFRESH_RATE=30
-
-# @ Set the number of samples required in multisample buffers
-#export DALI_MULTI_SAMPLING_LEVEL=4
-
-# @ Set the maximum texture size that GL can handle
-#export DALI_MAX_TEXTURE_SIZE=512
-
-# @ Set the mode of indicator visible
-#  IndicatorVisibleMode
-#  {
-#    INVISIBLE = 0, ///< Hide indicator
-#    VISIBLE = 1, ///< Show indicator
-#    AUTO = 2 ///< Hide in default, will show when necessary
-#  };
-#export DALI_INDICATOR_VISIBLE_MODE=1
-
-# @ Set the number of frames
-#  The number of frames that are going to be rendered into the Frame Buffer Object
-#  but the last one which is going to be rendered into the Frame Buffer.
-#export DALI_RENDER_TO_FBO=2
-
-# @ Disable depth buffer
-#export DALI_DISABLE_DEPTH_BUFFER=1
-
-# @ Disable stencil buffer
-#export DALI_DISABLE_STENCIL_BUFFER=1
-
-# @ Set the configuration of Pan-Gesture
-# @ Prediction Modes 1 & 2:
-
-# @ prediction mode for pan gestures
-#export DALI_PAN_PREDICTION_MODE=1
-#export DALI_PAN_PREDICTION_AMOUNT=1
-#export DALI_PAN_SMOOTHING_MODE=1
-
-# @ Prediction Mode 1:
-#export DALI_PAN_MAX_PREDICTION_AMOUNT=1
-#export DALI_PAN_MIN_PREDICTION_AMOUNT=1
-#export DALI_PAN_PREDICTION_AMOUNT_ADJUSTMENT=1
-#export DALI_PAN_SMOOTHING_AMOUNT=1
-
-# @ Prediction Mode 2 :
-#export DALI_PAN_USE_ACTUAL_TIMES=1
-#export DALI_PAN_INTERPOLATION_TIME_RANGE=1
-#export DALI_PAN_SCALAR_ONLY_PREDICTION_ENABLED=1
-#export DALI_PAN_TWO_POINT_PREDICTION_ENABLED=1
-#export DALI_PAN_TWO_POINT_PAST_INTERPOLATE_TIME=1
-#export DALI_PAN_TWO_POINT_VELOCITY_BIAS=1
-#export DALI_PAN_TWO_POINT_ACCELERATION_BIAS=1
-#export DALI_PAN_MULTITAP_SMOOTHING_RANGE=1
-
-# @ Pan-Gesture miscellaneous :
-#export DALI_LOG_PAN_GESTURE=1
-#export DALI_PAN_MINIMUM_DISTANCE=1
-#export DALI_PAN_MINIMUM_EVENTS=1
-
-
-# @ Enable filter for checking detail log
-#  If you enable filter, you can check detail log.
-#  but for use it, you need to build dali pkg using debug option
-#
-#   gbs build -A armv7l --include-al --define "%enable_debug 1"
-#
-#  After build and install dali pkg using debug option, you can enable the filter you want.
-#  Most filters set 0 level, so you need to set 1~3 level using environment value.
-#
-#   enum LogLevel
-#   {
-#   NoLogging   = 0,
-#   Concise     = 1,
-#   General     = 2,
-#   Verbose     = 3
-#   };
-
-#export LOG_KEYBOARD_FOCUS_MANAGER=3
-#export LOG_TEXT_RENDERING=3
-#export LOG_WINDOW=3
-
-