Fix thread contention issues in messages and pan gestures.
[platform/core/uifw/dali-core.git] / dali / internal / render / common / render-algorithms.h
index da09a90..f06ceca 100644 (file)
 
 namespace Dali
 {
-
 namespace Internal
 {
-
 class Context;
 
 namespace SceneGraph
 {
 class RenderInstruction;
+class Shader;
+class TextureCache;
 }
 
 namespace Render
@@ -41,11 +41,15 @@ namespace Render
  * Process a render-instruction.
  * @param[in] instruction The render-instruction to process.
  * @param[in] context The GL context.
+ * @param[in] textureCache The texture cache used to get textures.
+ * @param[in] defaultShader The default shader.
  * @param[in] buffer The current render buffer index (previous update buffer)
  * @param[in] frameTime The elapsed time between the last two updates.
  */
 void ProcessRenderInstruction( const SceneGraph::RenderInstruction& instruction,
                                Context& context,
+                               SceneGraph::TextureCache& textureCache,
+                               SceneGraph::Shader& defaultShader,
                                BufferIndex bufferIndex,
                                float frameTime );
 
@@ -56,4 +60,3 @@ void ProcessRenderInstruction( const SceneGraph::RenderInstruction& instruction,
 } // namespace Dali
 
 #endif // __DALI_INTERNAL_RENDER_ALGORITHMS_H__
-