--- a/uiacceltk/hitchcock/goommonitor/src/goomactionlist.cpp Fri Apr 16 15:56:24 2010 +0300
+++ b/uiacceltk/hitchcock/goommonitor/src/goomactionlist.cpp Mon May 03 13:22:43 2010 +0300
@@ -380,7 +380,7 @@
iFreeingMemory = ETrue;
TRACES2("CGOomActionList::FreeMemory: Running action %d which has priority %d", iCurrentActionIndex,ref.Priority());
- action->FreeMemory(iCurrentTarget - memoryEstimate);
+ action->FreeMemory(iCurrentTarget - memoryEstimate, iUseSwRendering);
iCurrentPluginRun = 0;
memoryFreeingActionRun = ETrue;
@@ -414,6 +414,12 @@
}
// ... otherwise continue running actions, don't wait for any existing ones to complete
iCurrentActionIndex++;
+
+ if (iCurrentActionIndex >= iActionRefs.Count())
+ {
+ StateChanged();
+ return;
+ }
}
@@ -742,3 +748,13 @@
{
return iRunningKillAppActions;
}
+
+void CGOomActionList::SetUseSwRendering(TBool aUseSwRendering)
+ {
+ iUseSwRendering = aUseSwRendering;
+ }
+
+TBool CGOomActionList::UseSwRendering()
+ {
+ return iUseSwRendering;
+ }