--- a/uiacceltk/hitchcock/coretoolkit/src/HuiFxEffectCache.cpp Fri Apr 16 15:56:24 2010 +0300
+++ b/uiacceltk/hitchcock/coretoolkit/src/HuiFxEffectCache.cpp Mon May 03 13:22:43 2010 +0300
@@ -234,7 +234,7 @@
}
return 0;
}
-MHuiFxEffectCacheNode *CHuiFxEffectCache::FindCached(const TDesC &aId)
+MHuiFxEffectCacheNode *CHuiFxEffectCache::FindCached(const TDesC &aId) const
{
TInt size2 = iCachedEffects.Count();
for(TInt i=0;i<size2;i++)
@@ -257,6 +257,16 @@
return EFalse;
}
+TBool CHuiFxEffectCache::FxmlUsesOpaqueHint(const TDesC &aFileName) const
+ {
+ MHuiFxEffectCacheNode *node = FindCached(aFileName);
+ if (node)
+ return node->FxmlUsesOpaqueHint();
+ else
+ return EFalse;
+ }
+
+
void CHuiFxEffectCache::Remove(RHashMap<TInt, MHuiFxEffectCacheNode*> & /*aMap*/, MHuiFxEffectCacheNode * /*aNode*/)
{
@@ -431,3 +441,9 @@
array.Close();
return EFalse;
}
+
+TBool CHuiFxEffectCacheEffectNode::FxmlUsesOpaqueHint() const
+ {
+ CHuiFxEffect *effect = iEffect;
+ return effect->FxmlUsesOpaqueHint();
+ }