Improved performance logging
[platform/core/uifw/dali-adaptor.git] / adaptors / base / environment-variables.h
1 #ifndef __DALI_INTERNAL_ADAPTOR_ENVIRONMENT_VARIABLES_H__
2 #define __DALI_INTERNAL_ADAPTOR_ENVIRONMENT_VARIABLES_H__
3
4 /*
5  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 namespace Dali
22 {
23
24 namespace Internal
25 {
26
27 namespace Adaptor
28 {
29
30 /**
31  * What performance statistics are logged out to dlog
32  * see StatisticsLogOptions in performance-interface.h for values
33  */
34 #define DALI_ENV_LOG_PERFORMANCE_STATS "DALI_LOG_PERFORMANCE_STATS"
35
36 /**
37  * How frequent in seconds to log out performance statistics
38  */
39 #define DALI_ENV_LOG_PERFORMANCE_STATS_FREQUENCY "DALI_LOG_PERFORMANCE_STATS_FREQ"
40
41 /**
42  * Where timestamped events for update/render/event and custom events
43  * are output.
44  * see TimeStampOutput in performance-interface.h for values
45  */
46 #define DALI_ENV_PERFORMANCE_TIMESTAMP_OUTPUT "DALI_PERFORMANCE_TIMESTAMP_OUTPUT"
47
48 // environment variable for enabling/disabling fps tracking
49 #define DALI_ENV_FPS_TRACKING "DALI_FPS_TRACKING"
50
51 // environment variable for enabling/disabling fps tracking
52 #define DALI_ENV_UPDATE_STATUS_INTERVAL "DALI_UPDATE_STATUS_INTERVAL"
53
54 #define DALI_ENV_LOG_PAN_GESTURE "DALI_LOG_PAN_GESTURE"
55
56 #define DALI_ENV_PAN_PREDICTION_MODE "DALI_PAN_PREDICTION_MODE"
57
58 #define DALI_ENV_PAN_PREDICTION_AMOUNT "DALI_PAN_PREDICTION_AMOUNT"
59
60 #define DALI_ENV_PAN_MAX_PREDICTION_AMOUNT "DALI_PAN_MAX_PREDICTION_AMOUNT"
61
62 #define DALI_ENV_PAN_MIN_PREDICTION_AMOUNT "DALI_PAN_MIN_PREDICTION_AMOUNT"
63
64 #define DALI_ENV_PAN_PREDICTION_AMOUNT_ADJUSTMENT "DALI_PAN_PREDICTION_AMOUNT_ADJUSTMENT"
65
66 #define DALI_ENV_PAN_SMOOTHING_MODE "DALI_PAN_SMOOTHING_MODE"
67
68 #define DALI_ENV_PAN_SMOOTHING_AMOUNT "DALI_PAN_SMOOTHING_AMOUNT"
69
70 #define DALI_ENV_PAN_MINIMUM_DISTANCE "DALI_PAN_MINIMUM_DISTANCE"
71
72 #define DALI_ENV_PAN_MINIMUM_EVENTS "DALI_PAN_MINIMUM_EVENTS"
73
74 #define DALI_GLES_CALL_TIME "DALI_GLES_CALL_TIME"
75
76 } // namespace Adaptor
77
78 } // namespace Internal
79
80 } // namespace Dali
81
82 #endif // __DALI_INTERNAL_ADAPTOR_ENVIRONMENT_VARIABLES_H__