equal
deleted
inserted
replaced
170 } |
170 } |
171 return ETrue; |
171 return ETrue; |
172 } |
172 } |
173 |
173 |
174 EXPORT_C void CHuiFxGroupLayer::Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, |
174 EXPORT_C void CHuiFxGroupLayer::Draw(CHuiFxEngine& aEngine, CHuiGc& aGc, CHuiFxRenderbuffer& aTarget, |
175 CHuiFxRenderbuffer& aSource) |
175 CHuiFxRenderbuffer& aSource, TBool aHasSurface) |
176 { |
176 { |
177 #ifdef HUIFX_TRACE |
177 #ifdef HUIFX_TRACE |
178 RDebug::Print(_L("CHuiFxGroupLayer::Draw - 0x%x "), this); |
178 RDebug::Print(_L("CHuiFxGroupLayer::Draw - 0x%x "), this); |
179 #endif |
179 #endif |
180 // TODO: fast path |
180 // TODO: fast path |
228 backBuffer->UnbindAsRenderTarget(); |
228 backBuffer->UnbindAsRenderTarget(); |
229 } |
229 } |
230 |
230 |
231 for (TInt i = 0; i < iLayers.Count(); i++) |
231 for (TInt i = 0; i < iLayers.Count(); i++) |
232 { |
232 { |
233 iLayers[i]->Draw(aEngine, aGc, *backBuffer, *sourceBuffer); |
233 iLayers[i]->Draw(aEngine, aGc, *backBuffer, *sourceBuffer, aHasSurface); |
234 } |
234 } |
235 |
235 |
236 // The root group does not support composition |
236 // The root group does not support composition |
237 if (!iIsRoot) |
237 if (!iIsRoot) |
238 { |
238 { |