X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=blobdiff_plain;f=dali%2Finternal%2Fcommon%2Fcore-impl.cpp;h=f1c6cd4081ed4c6f524c26a8678a1ec24d43f967;hp=43f2a2afd27c73649a60858f6afb18b4dc722e13;hb=79881246746f65474b24ea4fe14151ccef8df3f4;hpb=2fa249687dba04074502ee8b22fb738da437f5cd diff --git a/dali/internal/common/core-impl.cpp b/dali/internal/common/core-impl.cpp index 43f2a2a..f1c6cd4 100644 --- a/dali/internal/common/core-impl.cpp +++ b/dali/internal/common/core-impl.cpp @@ -27,7 +27,6 @@ #include #include #include -#include #include #include @@ -193,18 +192,6 @@ void Core::ContextDestroyed() mRenderManager->ContextDestroyed(); } -void Core::SurfaceDeleted( Integration::RenderSurface* surface ) -{ - for( auto scene : mScenes ) - { - if( scene->GetSurface() == surface ) - { - scene->SurfaceDeleted(); - break; - } - } -} - void Core::Update( float elapsedSeconds, uint32_t lastVSyncTimeMilliseconds, uint32_t nextVSyncTimeMilliseconds, Integration::UpdateStatus& status, bool renderToFboEnabled, bool isRenderingToFbo ) { // set the time delta so adaptor can easily print FPS with a release build with 0 as @@ -229,9 +216,19 @@ void Core::Update( float elapsedSeconds, uint32_t lastVSyncTimeMilliseconds, uin // Any message to update will wake it up anyways } -void Core::Render( RenderStatus& status, bool forceClear, bool uploadOnly ) +void Core::PreRender( RenderStatus& status, bool forceClear, bool uploadOnly ) +{ + mRenderManager->PreRender( status, forceClear, uploadOnly ); +} + +void Core::RenderScene( Integration::Scene& scene, bool renderToFbo ) +{ + mRenderManager->RenderScene( scene, renderToFbo ); +} + +void Core::PostRender( bool uploadOnly ) { - mRenderManager->Render( status, forceClear, uploadOnly ); + mRenderManager->PostRender( uploadOnly ); } void Core::SceneCreated()