[Tizen] Implement partial update
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-algorithms.h
old mode 100644 (file)
new mode 100755 (executable)
index 4dfab2c..bb5e066
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_RENDER_ALGORITHMS_H
 
 /*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -58,13 +58,17 @@ class RenderAlgorithms
      * @param[in] bufferIndex            The current render buffer index (previous update buffer)
      * @param[in] depthBufferAvailable   Whether the depth buffer is available
      * @param[in] stencilBufferAvailable Whether the stencil buffer is available
+     * @param[in] boundTextures          The textures bound for rendering
+     * @param[in] scissorBox             The damaged rect for partial update
      */
     void ProcessRenderInstruction( const SceneGraph::RenderInstruction& instruction,
                                    Context& context,
                                    BufferIndex bufferIndex,
                                    Integration::DepthBufferAvailable depthBufferAvailable,
                                    Integration::StencilBufferAvailable stencilBufferAvailable,
-                                   int orientation);
+                                   Vector<GLuint>& boundTextures,
+                                   int orientation,
+                                   Dali::ClippingBox& scissorBox );
 
   private:
 
@@ -115,6 +119,8 @@ class RenderAlgorithms
      * @param[in] projectionMatrix       The projection matrix from the appropriate camera.
      * @param[in] depthBufferAvailable   Whether the depth buffer is available
      * @param[in] stencilBufferAvailable Whether the stencil buffer is available
+     * @param[in] boundTextures          The textures bound for rendering
+     * @param[in] scissorBox             The damaged rect for partial update
      */
     inline void ProcessRenderList( const Dali::Internal::SceneGraph::RenderList& renderList,
                                    Context& context,
@@ -123,7 +129,9 @@ class RenderAlgorithms
                                    const Matrix& projectionMatrix,
                                    Integration::DepthBufferAvailable depthBufferAvailable,
                                    Integration::StencilBufferAvailable stencilBufferAvailable,
-                                   int orientation );
+                                   Vector<GLuint>& boundTextures,
+                                   int orientation,
+                                   Dali::ClippingBox& scissorBox );
 
     // Prevent copying:
     RenderAlgorithms( RenderAlgorithms& rhs );