X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fcommon%2Fcore-impl.cpp;h=5e02c3648a88ec516d41cf2acadca521691227a3;hb=955b4d7a108b1fd39990c859e83cb201639edae5;hp=3b50a24c67dcc1c3ee18016aabd84b517951e4b6;hpb=854bc5e3604631f30b5a418cc1df2a941b132050;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/common/core-impl.cpp b/dali/internal/common/core-impl.cpp index 3b50a24..5e02c36 100644 --- a/dali/internal/common/core-impl.cpp +++ b/dali/internal/common/core-impl.cpp @@ -185,7 +185,7 @@ void Core::ContextDestroyed() { } -void Core::Update(float elapsedSeconds, uint32_t lastVSyncTimeMilliseconds, uint32_t nextVSyncTimeMilliseconds, Integration::UpdateStatus& status, bool renderToFboEnabled, bool isRenderingToFbo) +void Core::Update(float elapsedSeconds, uint32_t lastVSyncTimeMilliseconds, uint32_t nextVSyncTimeMilliseconds, Integration::UpdateStatus& status, bool renderToFboEnabled, bool isRenderingToFbo, bool uploadOnly) { // set the time delta so adaptor can easily print FPS with a release build with 0 as // it is cached by frametime @@ -197,7 +197,8 @@ void Core::Update(float elapsedSeconds, uint32_t lastVSyncTimeMilliseconds, uint lastVSyncTimeMilliseconds, nextVSyncTimeMilliseconds, renderToFboEnabled, - isRenderingToFbo); + isRenderingToFbo, + uploadOnly); // Check the Notification Manager message queue to set needsNotification status.needsNotification = mNotificationManager->MessagesToProcess(); @@ -206,9 +207,9 @@ void Core::Update(float elapsedSeconds, uint32_t lastVSyncTimeMilliseconds, uint // Any message to update will wake it up anyways } -void Core::PreRender(RenderStatus& status, bool forceClear, bool uploadOnly) +void Core::PreRender(RenderStatus& status, bool forceClear) { - mRenderManager->PreRender(status, forceClear, uploadOnly); + mRenderManager->PreRender(status, forceClear); } void Core::PreRender(Integration::Scene& scene, std::vector>& damagedRects) @@ -226,9 +227,9 @@ void Core::RenderScene(RenderStatus& status, Integration::Scene& scene, bool ren mRenderManager->RenderScene(status, scene, renderToFbo, clippingRect); } -void Core::PostRender(bool uploadOnly) +void Core::PostRender() { - mRenderManager->PostRender(uploadOnly); + mRenderManager->PostRender(); } void Core::SceneCreated()