X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Frender%2Fcommon%2Frender-manager.cpp;h=f19c956a9d1f9b3e5c7d020025d3c4b5fc5625ef;hb=e5ae770573de0421fdeb9b5509a82fdd14e92284;hp=b39196185a06f0ad1c2a41a477d763f2c8ee475a;hpb=a6f1d65817d345731c06de99d88f7ac8c95cb7c8;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/render/common/render-manager.cpp b/dali/internal/render/common/render-manager.cpp index b391961..f19c956 100644 --- a/dali/internal/render/common/render-manager.cpp +++ b/dali/internal/render/common/render-manager.cpp @@ -59,6 +59,7 @@ struct RenderManager::Impl glSyncAbstraction( glSyncAbstraction ), renderQueue(), instructions(), + renderAlgorithms(), backgroundColor( Dali::Stage::DEFAULT_BACKGROUND_COLOR ), frameCount( 0 ), renderBufferIndex( SceneGraphBuffers::INITIAL_UPDATE_BUFFER_INDEX ), @@ -104,6 +105,7 @@ struct RenderManager::Impl // Render instructions describe what should be rendered during RenderManager::Render() // Owned by RenderManager. Update manager updates instructions for the next frame while we render the current one RenderInstructionContainer instructions; + Render::RenderAlgorithms renderAlgorithms; ///< The RenderAlgorithms object is used to action the renders required by a RenderInstruction Vector4 backgroundColor; ///< The glClear color used at the beginning of each frame. @@ -530,9 +532,7 @@ void RenderManager::DoRender( RenderInstruction& instruction ) mImpl->context.SetScissorTest( false ); } - Render::ProcessRenderInstruction( instruction, - mImpl->context, - mImpl->renderBufferIndex ); + mImpl->renderAlgorithms.ProcessRenderInstruction( instruction, mImpl->context, mImpl->renderBufferIndex ); if( instruction.mRenderTracker && ( instruction.mFrameBuffer != NULL ) ) {