1 #ifndef __DALI_INTEGRATION_PROFILING_H__
2 #define __DALI_INTEGRATION_PROFILING_H__
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
24 #include <dali/public-api/common/dali-common.h>
34 PROFILING_TYPE_PAN_GESTURE,
40 * Called by adaptor to provide profiling information.
42 * @pre Should be called after Core creation.
43 * @param type The type of profiling information to output.
45 DALI_IMPORT_API void EnableProfiling( ProfilingType type );
48 * @brief Called by adaptor to set the pan gesture prediction mode from
49 * an environment variable
51 * @pre Should be called after Core creation.
52 * @param mode The pan gesture prediction mode.
54 DALI_IMPORT_API void SetPanGesturePredictionMode( int mode );
57 * @brief Called by adaptor to set the prediction amount of the pan gesture from an environment variable
59 * @param[in] amount The prediction amount in milliseconds
61 DALI_IMPORT_API void SetPanGesturePredictionAmount(unsigned int amount);
64 * @brief Called to set how pan gestures smooth input
66 * @param[in] mode The smoothing mode to use
68 DALI_IMPORT_API void SetPanGestureSmoothingMode( int mode );
71 * @brief Sets the prediction amount of the pan gesture
73 * @param[in] amount The smoothing amount [0.0f,1.0f] - 0.0f would be no smoothing, 1.0f maximum smoothing
75 DALI_IMPORT_API void SetPanGestureSmoothingAmount( float amount );
81 DALI_IMPORT_API extern const int ANIMATION_MEMORY_SIZE; ///< Total size of animation and associated internal objects
82 DALI_IMPORT_API extern const int CONSTRAINT_MEMORY_SIZE; ///< Total size of constraint and associated internal objects
83 DALI_IMPORT_API extern const int ACTOR_MEMORY_SIZE; ///< Total size of actor and associated internal objects
84 DALI_IMPORT_API extern const int CAMERA_ACTOR_MEMORY_SIZE; ///< Total size of camera actor and associated internal objects
85 DALI_IMPORT_API extern const int TEXT_ACTOR_MEMORY_SIZE; ///< Total size of text actor and associated internal objects
86 DALI_IMPORT_API extern const int MESH_ACTOR_MEMORY_SIZE; ///< Total size of mesh actor and associated internal objects
87 DALI_IMPORT_API extern const int IMAGE_ACTOR_MEMORY_SIZE; ///< Total size of image actor and associated internal objects
88 DALI_IMPORT_API extern const int LAYER_MEMORY_SIZE; ///< Total size of layer and associated internal objects
89 DALI_IMPORT_API extern const int IMAGE_MEMORY_SIZE; ///< Total size of image and associated internal objects
90 DALI_IMPORT_API extern const int MESH_MEMORY_SIZE; ///< Total size of mesh and associated internal objects
91 DALI_IMPORT_API extern const int MATERIAL_MEMORY_SIZE; ///< Total size of material and associated internal objects
92 } // namespace Profiling
94 } // namespace Integration
98 #endif // __DALI_INTEGRATION_PROFILING_H__