From 60d893a7d63bc0d1856dffdbba8005e241cb07d7 Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Wed, 25 Oct 2023 16:41:01 +0900 Subject: [PATCH] Revert "[Tizen] Apply Precompile shader" This reverts commit f5f5554841374422aaf9f306d40374720626aa86. --- .../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 e164e85..648ef81 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; @@ -537,21 +535,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); @@ -570,24 +553,6 @@ void CombinedUpdateRenderController::UpdateRenderThread() const bool renderToFboEnabled = 0u != renderToFboInterval; unsigned int frameCount = 0u; - if(Integration::ShaderPrecompiler::Get().IsEnable()) - { - RawShaderData precompiledShader; - Integration::ShaderPrecompiler::Get().GetPrecompileShaderList(precompiledShader); - auto numberOfPrecomipledShader = precompiledShader.shaderCount; - for(int i= 0; i