From a9cc0125ddb66a257df5173df74e341bff379834 Mon Sep 17 00:00:00 2001 From: "huiyu.eun" Date: Wed, 29 Nov 2023 13:35:35 +0900 Subject: [PATCH] Revert "[Tizen] Apply Precompile shader" This reverts commit b5a40578f3196bb940d153244c12198fcd3fb6a8. --- .../common/combined-update-render-controller.cpp | 39 ++-------------------- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/dali/internal/adaptor/common/combined-update-render-controller.cpp b/dali/internal/adaptor/common/combined-update-render-controller.cpp index 969ee5e..3a8ad2c 100644 --- a/dali/internal/adaptor/common/combined-update-render-controller.cpp +++ b/dali/internal/adaptor/common/combined-update-render-controller.cpp @@ -20,7 +20,6 @@ // EXTERNAL INCLUDES #include -#include #include #include #include "dali/public-api/common/dali-common.h" @@ -45,7 +44,6 @@ namespace Adaptor { namespace { - const unsigned int CREATED_THREAD_COUNT = 1u; const int CONTINUOUS = -1; @@ -539,21 +537,6 @@ void CombinedUpdateRenderController::UpdateRenderThread() NotifyThreadInitialised(); - // Initialize and create graphics resource for the shared context. - WindowContainer windows; - mAdaptorInterfaces.GetWindowContainerInterface(windows); - - for(auto&& window : windows) - { - Dali::Integration::Scene scene = window->GetScene(); - Dali::RenderSurfaceInterface* windowSurface = window->GetSurface(); - - if(scene && windowSurface) - { - windowSurface->InitializeGraphics(); - } - } - // Update time uint64_t lastFrameTime; TimeService::GetNanoseconds(lastFrameTime); @@ -574,24 +557,6 @@ void CombinedUpdateRenderController::UpdateRenderThread() TRACE_UPDATE_RENDER_END("DALI_RENDER_THREAD_INIT"); - if(Integration::ShaderPrecompiler::Get().IsEnable()) - { - RawShaderData precompiledShader; - Integration::ShaderPrecompiler::Get().GetPrecompileShaderList(precompiledShader); - auto numberOfPrecomipledShader = precompiledShader.shaderCount; - for(int i= 0; i