X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fbase%2Fenvironment-options.h;h=a677d2e0377d75a4c7154f39c449e1b03e6ff8da;hb=4b464f187d39773bb79bd1b00a531af113e0dafd;hp=b553ba89ce32e59c6637f6e63698bc924ae2dff2;hpb=48cdc489b526c30752d73e108489a8772c335baa;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/base/environment-options.h b/adaptors/base/environment-options.h index b553ba8..a677d2e 100644 --- a/adaptors/base/environment-options.h +++ b/adaptors/base/environment-options.h @@ -21,6 +21,9 @@ // EXTERNAL INCLUDES #include +// INTERNAL INCLUDES +#include + namespace Dali { namespace Internal @@ -79,6 +82,11 @@ public: unsigned int GetUpdateStatusLoggingFrequency() const; /** + * @return object profiler status interval ( 0 == off ) + */ + unsigned int GetObjectProfilerInterval() const; + + /** * @return performance statistics log level ( 0 == off ) */ unsigned int GetPerformanceStatsLoggingOptions() const; @@ -141,6 +149,48 @@ public: float GetPanGestureSmoothingAmount() const; /** + * @return pan-gesture use actual times is true if real gesture and frame times are to be used. + */ + int GetPanGestureUseActualTimes() const; + + /** + * @return pan-gesture interpolation time range is the time range (ms) of past points to use (with weights) when interpolating. + */ + int GetPanGestureInterpolationTimeRange() const; + + /** + * @return pan-gesture scalar only prediction, when enabled, ignores acceleration. + */ + int GetPanGestureScalarOnlyPredictionEnabled() const; + + /** + * @return pan-gesture two point prediction combines two interpolated points to get more steady acceleration and velocity values. + */ + int GetPanGestureTwoPointPredictionEnabled() const; + + /** + * @return pan-gesture two point interpolate past time is the time delta (ms) in the past to interpolate the second point. + */ + int GetPanGestureTwoPointInterpolatePastTime() const; + + /** + * @return pan-gesture two point velocity bias is the ratio of first and second points to use for velocity. + * 0.0f = 100% of first point. 1.0f = 100% of second point. + */ + float GetPanGestureTwoPointVelocityBias() const; + + /** + * @return pan-gesture two point acceleration bias is the ratio of first and second points to use for acceleration. + * 0.0f = 100% of first point. 1.0f = 100% of second point. + */ + float GetPanGestureTwoPointAccelerationBias() const; + + /** + * @return pan-gesture multitap smoothing range is the range in time (ms) of points in the history to smooth the final output against. + */ + int GetPanGestureMultitapSmoothingRange() const; + + /** * @return The minimum distance before a pan can be started (-1 means it's not set) */ int GetMinimumPanDistance() const; @@ -166,6 +216,11 @@ public: int GetGlesCallTime() const; /** + * @brief Get whether or not to accumulate gles call statistics + */ + bool GetGlesCallAccumulate() const; + + /** * @return true if performance server is required */ bool PerformanceServerRequired() const; @@ -180,6 +235,16 @@ public: */ const std::string& GetWindowClassName() const; + /** + * @return The thread mode that DALi should use. + */ + ThreadingMode::Type GetThreadingMode() const; + + /** + * @return The render refresh rate. + */ + unsigned int GetRenderRefreshRate() const; + private: // Internal /** @@ -195,6 +260,7 @@ private: // Data unsigned int mNetworkControl; ///< whether network control is enabled unsigned int mFpsFrequency; ///< how often fps is logged out in seconds unsigned int mUpdateStatusFrequency; ///< how often update status is logged out in frames + unsigned int mObjectProfilerInterval; ///< how often object counts are logged out in seconds unsigned int mPerformanceStatsLevel; ///< performance statistics logging bitmask unsigned int mPerformanceStatsFrequency; ///< performance statistics logging frequency (seconds) unsigned int mPerformanceTimeStampOutput; ///< performance time stamp output ( bitmask) @@ -206,11 +272,22 @@ private: // Data int mPanGesturePredictionAmountAdjustment; ///< adjustment of prediction amount for pan gestures int mPanGestureSmoothingMode; ///< prediction mode for pan gestures float mPanGestureSmoothingAmount; ///< prediction amount for pan gestures + int mPanGestureUseActualTimes; ///< Disable to optionally override actual times if they make results worse. + int mPanGestureInterpolationTimeRange; ///< Time into past history (ms) to use points to interpolate the first point. + int mPanGestureScalarOnlyPredictionEnabled; ///< If enabled, prediction is done using velocity alone (no integration or acceleration). + int mPanGestureTwoPointPredictionEnabled; ///< If enabled, a second interpolated point is predicted and combined with the first to get more stable values. + int mPanGestureTwoPointInterpolatePastTime; ///< The target time in the past to generate the second interpolated point. + float mPanGestureTwoPointVelocityBias; ///< The ratio of first and second interpolated points to use for velocity. 0.0f = 100% of first point. 1.0f = 100% of second point. + float mPanGestureTwoPointAccelerationBias; ///< The ratio of first and second interpolated points to use for acceleration. 0.0f = 100% of first point. 1.0f = 100% of second point. + int mPanGestureMultitapSmoothingRange; ///< The range in time (ms) of points in the history to smooth the final output against. int mPanMinimumDistance; ///< minimum distance required before pan starts int mPanMinimumEvents; ///< minimum events required before pan starts int mGlesCallTime; ///< time in seconds between status updates unsigned int mWindowWidth; ///< width of the window unsigned int mWindowHeight; ///< height of the window + ThreadingMode::Type mThreadingMode; ///< threading mode + unsigned int mRenderRefreshRate; ///< render refresh rate + bool mGlesCallAccumulate; ///< Whether or not to accumulate gles call statistics Dali::Integration::Log::LogFunction mLogFunction;