From 45d8529d30574244e669938ebd5a0b4e6d7383da Mon Sep 17 00:00:00 2001 From: "Eunki, Hong" Date: Tue, 26 Sep 2023 17:25:38 +0900 Subject: [PATCH] Revert "[Tizen] Apply Precompile shader" This reverts commit 95cc79c99fd976e0fbb51db61e037557abeb0561. --- .../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