mPanGestureSmoothingAmount(-1.0f),
mPanMinimumDistance(-1),
mPanMinimumEvents(-1),
- mGlesCallTime(0),
+ mGlesCallTime( 0 ),
mWindowWidth( 0 ),
mWindowHeight( 0 ),
- mThreadingMode( ThreadingMode::SEPARATE_UPDATE_RENDER ),
+ mThreadingMode( ThreadingMode::COMBINED_UPDATE_RENDER ),
mRenderRefreshRate( 1 ),
+ mGlesCallAccumulate( false ),
mLogFunction( NULL )
{
ParseEnvironmentOptions();
return mGlesCallTime;
}
+bool EnvironmentOptions::GetGlesCallAccumulate() const
+{
+ return mGlesCallAccumulate;
+}
+
const std::string& EnvironmentOptions::GetWindowName() const
{
return mWindowName;
mGlesCallTime = glesCallTime;
}
+ int glesCallAccumulate( 0 );
+ if ( GetIntegerEnvironmentVariable( DALI_GLES_CALL_ACCUMULATE, glesCallAccumulate ) )
+ {
+ mGlesCallAccumulate = glesCallAccumulate != 0;
+ }
+
int windowWidth(0), windowHeight(0);
if ( GetIntegerEnvironmentVariable( DALI_WINDOW_WIDTH, windowWidth ) && GetIntegerEnvironmentVariable( DALI_WINDOW_HEIGHT, windowHeight ) )
{