Remove an unneccessary argument at Process() 70/311370/1
authorjmm <j0064423.lee@samsung.com>
Mon, 20 May 2024 07:05:36 +0000 (16:05 +0900)
committerjmm <j0064423.lee@samsung.com>
Mon, 20 May 2024 07:05:36 +0000 (16:05 +0900)
Change-Id: I62c8ab7fe11b28c67fa3fe5e277142d969af8698

dali/internal/update/manager/render-task-processor.cpp
dali/internal/update/manager/render-task-processor.h
dali/internal/update/manager/update-manager.cpp

index 6059a12..2f87cf2 100644 (file)
@@ -213,7 +213,6 @@ void AddRenderablesForTask(BufferIndex updateBufferIndex,
  * If there is only one default render-task, then no further processing is required.
  * @param[in]  updateBufferIndex          The current update buffer index.
  * @param[in]  taskContainer              The container of render-tasks.
- * @param[in]  rootNode                   The root node of the scene-graph.
  * @param[in]  sortedLayers               The layers containing lists of opaque / transparent renderables.
  * @param[out] instructions               The instructions for rendering the next frame.
  * @param[in]  renderInstructionProcessor An instance of the RenderInstructionProcessor used to sort and handle the renderers for each layer.
@@ -224,7 +223,6 @@ void AddRenderablesForTask(BufferIndex updateBufferIndex,
  */
 void ProcessTasks(BufferIndex                          updateBufferIndex,
                   RenderTaskList::RenderTaskContainer& taskContainer,
-                  Layer&                               rootNode,
                   SortedLayerPointers&                 sortedLayers,
                   RenderInstructionContainer&          instructions,
                   RenderInstructionProcessor&          renderInstructionProcessor,
@@ -341,7 +339,6 @@ RenderTaskProcessor::~RenderTaskProcessor() = default;
 
 bool RenderTaskProcessor::Process(BufferIndex                 updateBufferIndex,
                                   RenderTaskList&             renderTasks,
-                                  Layer&                      rootNode,
                                   SortedLayerPointers&        sortedLayers,
                                   RenderInstructionContainer& instructions,
                                   bool                        renderToFboEnabled,
@@ -368,7 +365,6 @@ bool RenderTaskProcessor::Process(BufferIndex                 updateBufferIndex,
 
   ProcessTasks(updateBufferIndex,
                taskContainer,
-               rootNode,
                sortedLayers,
                instructions,
                mRenderInstructionProcessor,
@@ -384,7 +380,6 @@ bool RenderTaskProcessor::Process(BufferIndex                 updateBufferIndex,
 
   ProcessTasks(updateBufferIndex,
                taskContainer,
-               rootNode,
                sortedLayers,
                instructions,
                mRenderInstructionProcessor,
index 0e3b7e2..7e7d963 100644 (file)
@@ -52,7 +52,6 @@ public:
    * If there is only one default render-task, then no further processing is required.
    * @param[in]  updateBufferIndex  The current update buffer index.
    * @param[in]  renderTasks        The list of render-tasks.
-   * @param[in]  rootNode           The root node of the scene-graph.
    * @param[in]  sortedLayers       The layers containing lists of opaque / transparent renderables.
    * @param[out] instructions       The instructions for rendering the next frame.
    * @param[in]  renderToFboEnabled Whether rendering into the Frame Buffer Object is enabled (used to measure FPS above 60)
@@ -61,7 +60,6 @@ public:
    */
   bool Process(BufferIndex                 updateBufferIndex,
                RenderTaskList&             renderTasks,
-               Layer&                      rootNode,
                SortedLayerPointers&        sortedLayers,
                RenderInstructionContainer& instructions,
                bool                        renderToFboEnabled,
index 6cefe07..3790b00 100644 (file)
@@ -1213,7 +1213,6 @@ uint32_t UpdateManager::Update(float    elapsedSeconds,
           {
             renderContinuously |= mImpl->renderTaskProcessor.Process(bufferIndex,
                                                                      *scene->taskList,
-                                                                     *scene->root,
                                                                      scene->sortedLayerList,
                                                                      scene->scene->GetRenderInstructions(),
                                                                      renderToFboEnabled,