X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fcore.cpp;h=30e1cba88b3ef343d42d9707c1578e90555fa857;hb=0a68c62785eaa442cfa213157431d6f2c9b37033;hp=f3bb7ad6b4d9209a1dc378d911b4629511df4fb6;hpb=55827866fcb8c7ee47581ac4335a3390472090e8;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/core.cpp b/dali/integration-api/core.cpp old mode 100755 new mode 100644 index f3bb7ad..30e1cba --- a/dali/integration-api/core.cpp +++ b/dali/integration-api/core.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -40,11 +40,9 @@ Core* Core::New( RenderController& renderController, GlAbstraction& glAbstraction, GlSyncAbstraction& glSyncAbstraction, GlContextHelperAbstraction& glContextHelperAbstraction, - ResourcePolicy::DataRetention policy, RenderToFrameBuffer renderToFboEnabled, DepthBufferAvailable depthBufferAvailable, - StencilBufferAvailable stencilBufferAvailable, - PartialUpdateAvailable partialUpdateAvailable ) + StencilBufferAvailable stencilBufferAvailable ) { Core* instance = new Core; instance->mImpl = new Internal::Core( renderController, @@ -52,11 +50,9 @@ Core* Core::New( RenderController& renderController, glAbstraction, glSyncAbstraction, glContextHelperAbstraction, - policy, renderToFboEnabled, depthBufferAvailable, - stencilBufferAvailable, - partialUpdateAvailable ); + stencilBufferAvailable ); return instance; } @@ -121,9 +117,9 @@ void Core::Update( float elapsedSeconds, uint32_t lastVSyncTimeMilliseconds, uin mImpl->Update( elapsedSeconds, lastVSyncTimeMilliseconds, nextVSyncTimeMilliseconds, status, renderToFboEnabled, isRenderingToFbo ); } -void Core::Render( RenderStatus& status, bool forceClear ) +void Core::Render( RenderStatus& status, bool forceClear, bool uploadOnly ) { - mImpl->Render( status, forceClear ); + mImpl->Render( status, forceClear, uploadOnly ); } void Core::RegisterProcessor( Processor& processor )