From: David Steele Date: Wed, 31 Jan 2024 16:52:55 +0000 (+0000) Subject: [Tizen] Removing unused threadpool X-Git-Tag: accepted/tizen/8.0/unified/20240220.144347^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42a1c5b4f3e42319cba646f04cd19c2340300edf;p=platform%2Fcore%2Fuifw%2Fdali-core.git [Tizen] Removing unused threadpool Change-Id: Ia2cccb3bee0068b15f5eff1c23d46ff62cc97b3b --- diff --git a/dali/internal/render/common/render-manager.cpp b/dali/internal/render/common/render-manager.cpp index e974e62..cfd7cfb 100644 --- a/dali/internal/render/common/render-manager.cpp +++ b/dali/internal/render/common/render-manager.cpp @@ -22,7 +22,6 @@ #include // INTERNAL INCLUDES -#include #include #include #include @@ -149,17 +148,12 @@ struct RenderManager::Impl stencilBufferAvailable(stencilBufferAvailableParam), partialUpdateAvailable(partialUpdateAvailableParam) { - // Create thread pool with just one thread ( there may be a need to create more threads in the future ). - threadPool = std::make_unique(); - threadPool->Initialize(1u); - uniformBufferManager = std::make_unique(&graphicsController); pipelineCache = std::make_unique(graphicsController); } ~Impl() { - threadPool.reset(nullptr); // reset now to maintain correct destruction order rendererContainer.Clear(); // clear now before the pipeline cache is deleted } @@ -208,8 +202,7 @@ struct RenderManager::Impl Integration::StencilBufferAvailable stencilBufferAvailable; ///< Whether the stencil buffer is available Integration::PartialUpdateAvailable partialUpdateAvailable; ///< Whether the partial update is available - std::unique_ptr threadPool; ///< The thread pool - Vector updatedTextures{}; ///< The updated texture list + Vector updatedTextures{}; ///< The updated texture list uint32_t frameCount{0u}; ///< The current frame count BufferIndex renderBufferIndex{SceneGraphBuffers::INITIAL_UPDATE_BUFFER_INDEX}; ///< The index of the buffer to read from;