X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fcore.cpp;h=30e1cba88b3ef343d42d9707c1578e90555fa857;hb=0a68c62785eaa442cfa213157431d6f2c9b37033;hp=596ef9a2da175f8bb461440ca3dab38751c93973;hpb=8f925570d28eafbb247f75f91a8616fed4e20345;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/core.cpp b/dali/integration-api/core.cpp index 596ef9a..30e1cba 100644 --- 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. @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -38,7 +39,7 @@ Core* Core::New( RenderController& renderController, PlatformAbstraction& platformAbstraction, GlAbstraction& glAbstraction, GlSyncAbstraction& glSyncAbstraction, - ResourcePolicy::DataRetention policy, + GlContextHelperAbstraction& glContextHelperAbstraction, RenderToFrameBuffer renderToFboEnabled, DepthBufferAvailable depthBufferAvailable, StencilBufferAvailable stencilBufferAvailable ) @@ -48,7 +49,7 @@ Core* Core::New( RenderController& renderController, platformAbstraction, glAbstraction, glSyncAbstraction, - policy, + glContextHelperAbstraction, renderToFboEnabled, depthBufferAvailable, stencilBufferAvailable ); @@ -86,11 +87,6 @@ void Core::RecoverFromContextLoss() mImpl->RecoverFromContextLoss(); } -void Core::SurfaceResized( Integration::RenderSurface* surface ) -{ - mImpl->SurfaceResized(surface); -} - void Core::SurfaceDeleted( Integration::RenderSurface* surface ) { mImpl->SurfaceDeleted(surface); @@ -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 )