X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Frender%2Fcommon%2Frender-algorithms.cpp;h=0061b87e6ed4fd871968e66d6ee43fbafaa12887;hb=a06eafa8babd0523af3b6935e2c900347f96bfb8;hp=ec47b655035ea22b26e1ff64c3d750a7ab95d55d;hpb=5a9a6f69f3f8fd9b7a177dfc571dbda1c44405c2;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/render/common/render-algorithms.cpp b/dali/internal/render/common/render-algorithms.cpp index ec47b65..0061b87 100644 --- a/dali/internal/render/common/render-algorithms.cpp +++ b/dali/internal/render/common/render-algorithms.cpp @@ -1,5 +1,5 @@ /* - * 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. @@ -389,7 +389,8 @@ inline void RenderAlgorithms::ProcessRenderList( const RenderList& renderList, const Matrix& viewMatrix, const Matrix& projectionMatrix, Integration::DepthBufferAvailable depthBufferAvailable, - Integration::StencilBufferAvailable stencilBufferAvailable ) + Integration::StencilBufferAvailable stencilBufferAvailable, + Vector& boundTextures ) { DALI_PRINT_RENDER_LIST( renderList ); @@ -424,7 +425,7 @@ inline void RenderAlgorithms::ProcessRenderList( const RenderList& renderList, } // Loop through all RenderList in the RenderList, set up any prerequisites to render them, then perform the render. - for( size_t index( 0u ); index < count; ++index ) + for( uint32_t index = 0u; index < count; ++index ) { const RenderItem& item = renderList.GetItem( index ); DALI_PRINT_RENDER_ITEM( item ); @@ -447,7 +448,7 @@ inline void RenderAlgorithms::ProcessRenderList( const RenderList& renderList, // Render the item. item.mRenderer->Render( context, bufferIndex, *item.mNode, item.mModelMatrix, item.mModelViewMatrix, - viewMatrix, projectionMatrix, item.mSize, !item.mIsOpaque ); + viewMatrix, projectionMatrix, item.mSize, !item.mIsOpaque, boundTextures ); } } } @@ -462,7 +463,8 @@ void RenderAlgorithms::ProcessRenderInstruction( const RenderInstruction& instru Context& context, BufferIndex bufferIndex, Integration::DepthBufferAvailable depthBufferAvailable, - Integration::StencilBufferAvailable stencilBufferAvailable ) + Integration::StencilBufferAvailable stencilBufferAvailable, + Vector& boundTextures ) { DALI_PRINT_RENDER_INSTRUCTION( instruction, bufferIndex ); @@ -490,7 +492,8 @@ void RenderAlgorithms::ProcessRenderInstruction( const RenderInstruction& instru *viewMatrix, *projectionMatrix, depthBufferAvailable, - stencilBufferAvailable ); + stencilBufferAvailable, + boundTextures ); } } }