uiacceltk/hitchcock/coretoolkit/src/HuiFxGroupLayer.cpp
branchRCL_3
changeset 18 1801340c26a2
parent 17 c9d868f1e20c
child 19 e5af45d51884
equal deleted inserted replaced
17:c9d868f1e20c 18:1801340c26a2
   167             {
   167             {
   168             return EFalse;
   168             return EFalse;
   169             }
   169             }
   170         }
   170         }
   171     return ETrue;
   171     return ETrue;
       
   172     }
       
   173 
       
   174 EXPORT_C void CHuiFxGroupLayer::ReleaseAllCachedRenderTargets(CHuiFxEngine& aEngine)
       
   175     {
       
   176     // Currently grouplayer itself does not use any cached render buffers which it would not free right after drawing a frame
       
   177 
       
   178     // still release all child layer's render targets
       
   179     for( TInt i=0 ; i < iLayers.Count() ; i++ )
       
   180         {
       
   181         iLayers[i]->ReleaseAllCachedRenderTargets(aEngine);
       
   182         }    
   172     }
   183     }
   173 
   184 
   174 EXPORT_C void CHuiFxGroupLayer::Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, 
   185 EXPORT_C void CHuiFxGroupLayer::Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, 
   175                                      CHuiFxRenderbuffer& aSource, TBool aHasSurface)
   186                                      CHuiFxRenderbuffer& aSource, TBool aHasSurface)
   176     {
   187     {