* @note If the rootActor is destroyed, then the callback is automatically removed
* @see FrameCallbackInterface
*/
-DALI_IMPORT_API void AddFrameCallback( Dali::Stage stage, FrameCallbackInterface& frameCallback, Actor rootActor );
+DALI_CORE_API void AddFrameCallback( Dali::Stage stage, FrameCallbackInterface& frameCallback, Actor rootActor );
/**
* @brief Removes the specified FrameCallbackInterface implementation from being called on every frame.
* @note This function will block if the FrameCallbackInterface::Update method is being processed in the update-thread.
* @note If the callback implementation has already been removed, then this is a no-op.
*/
-DALI_IMPORT_API void RemoveFrameCallback( Dali::Stage stage, FrameCallbackInterface& frameCallback );
+DALI_CORE_API void RemoveFrameCallback( Dali::Stage stage, FrameCallbackInterface& frameCallback );
} // namespace DevelStage
{
for ( RenderTaskContainer::iterator iter = mTasks.begin(); mTasks.end() != iter; ++iter )
{
- if ( iter->Get() == &task )
+ RenderTask *ptr = iter->Get();
+
+ if ( ptr == &task )
{
const SceneGraph::RenderTask& sceneObject = task.GetRenderTaskSceneObject();
for ( Vector< Exclusive >::Iterator exclusiveIt = mExclusives.Begin(); exclusiveIt != mExclusives.End(); ++exclusiveIt )
{
- if ( exclusiveIt->renderTaskPtr == iter->Get() )
+ if ( exclusiveIt->renderTaskPtr == ptr )
{
mExclusives.Erase( exclusiveIt );
break;