[Tizen] Enable shaderFileCaching in InitializeGLES 73/323873/1 accepted/tizen/unified/20250509.015141 accepted/tizen/unified/x/20250509.034535
authorsunghyun kim <scholb.kim@samsung.com>
Thu, 8 May 2025 09:21:01 +0000 (18:21 +0900)
committersunghyun kim <scholb.kim@samsung.com>
Thu, 8 May 2025 09:21:01 +0000 (18:21 +0900)
Change-Id: I82391861ad898d29b2d624af0b0d10693cce4809

dali/internal/graphics/gles-impl/egl-graphics-controller.cpp

index db8845a773c205673760c66fbc627550b02aa87a..747a0d6cc192d54644d6e1eb39256a4b9928c45b 100644 (file)
@@ -211,7 +211,7 @@ void EglGraphicsController::InitializeGLES(Integration::GlAbstraction& glAbstrac
   GLES::Framebuffer::SetSharedContext(mCurrentContext);
 
   static auto enableShaderUseProgramBinaryString = Dali::EnvironmentVariable::GetEnvironmentVariable(DALI_ENV_SHADER_USE_PROGRAM_BINARY);
-  mUseProgramBinary                              = enableShaderUseProgramBinaryString ? std::atoi(enableShaderUseProgramBinaryString) : false;
+  mUseProgramBinary                              = enableShaderUseProgramBinaryString ? std::atoi(enableShaderUseProgramBinaryString) : true; // change default
 }
 
 void EglGraphicsController::Initialize(Integration::GraphicsSyncAbstraction& syncImplementation,