Default On partial update 34/238634/3
authorJoogab Yun <joogab.yun@samsung.com>
Thu, 16 Jul 2020 02:27:19 +0000 (11:27 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Thu, 16 Jul 2020 05:06:33 +0000 (05:06 +0000)
if you want disable partial update, set DALI_DISABLE_PARTIAL_UPDATE=1

Change-Id: I80dcfb9493a9b4a3500653687bc13e3a9c14327c

dali/internal/graphics/gles/egl-implementation.cpp
dali/internal/system/common/environment-options.cpp [changed mode: 0644->0755]
dali/internal/system/common/environment-variables.h [changed mode: 0644->0755]

index f8149c4..d0d272b 100755 (executable)
@@ -153,10 +153,12 @@ bool EglImplementation::InitializeGles( EGLNativeDisplayType display, bool isOwn
 
   // We want to display this information all the time, so use the LogMessage directly
   Integration::Log::LogMessage(Integration::Log::DebugInfo, "EGL Information\n"
+      "            PartialUpdate  %d\n"
       "            Vendor:        %s\n"
       "            Version:       %s\n"
       "            Client APIs:   %s\n"
       "            Extensions:    %s\n",
+      mPartialUpdateRequired,
       eglQueryString( mEglDisplay, EGL_VENDOR ),
       eglQueryString( mEglDisplay, EGL_VERSION ),
       eglQueryString( mEglDisplay, EGL_CLIENT_APIS ),
old mode 100644 (file)
new mode 100755 (executable)
index 1d00be7..4976fea
@@ -42,7 +42,7 @@ const unsigned int DEFAULT_STATISTICS_LOG_FREQUENCY = 2;
 const int DEFAULT_MULTI_SAMPLING_LEVEL = -1;
 const bool DEFAULT_DEPTH_BUFFER_REQUIRED_SETTING = true;
 const bool DEFAULT_STENCIL_BUFFER_REQUIRED_SETTING = true;
-const bool DEFAULT_PARTIAL_UPDATE_REQUIRED_SETTING = false;
+const bool DEFAULT_PARTIAL_UPDATE_REQUIRED_SETTING = true;
 
 unsigned int GetIntegerEnvironmentVariable( const char* variable, unsigned int defaultValue )
 {
@@ -669,11 +669,11 @@ void EnvironmentOptions::ParseEnvironmentOptions()
   }
 
   int partialUpdateRequired( -1 );
-  if( GetIntegerEnvironmentVariable( DALI_ENV_ENABLE_PARTIAL_UPDATE, partialUpdateRequired ) )
+  if( GetIntegerEnvironmentVariable( DALI_ENV_DISABLE_PARTIAL_UPDATE, partialUpdateRequired ) )
   {
     if( partialUpdateRequired > 0 )
     {
-      mPartialUpdateRequired = true;
+      mPartialUpdateRequired = false;
     }
   }
 }
old mode 100644 (file)
new mode 100755 (executable)
index 1be9185..6dca45a
@@ -128,7 +128,7 @@ namespace Adaptor
 
 #define DALI_ENV_DISABLE_STENCIL_BUFFER "DALI_DISABLE_STENCIL_BUFFER"
 
-#define DALI_ENV_ENABLE_PARTIAL_UPDATE "DALI_ENABLE_PARTIAL_UPDATE"
+#define DALI_ENV_DISABLE_PARTIAL_UPDATE "DALI_DISABLE_PARTIAL_UPDATE"
 
 #define DALI_ENV_WEB_ENGINE_NAME "DALI_WEB_ENGINE_NAME"