X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fintegration-api%2Fcore.cpp;h=1f664e4bffa9ace93b26604eb674893999d6d18f;hb=fcbf4dbfb25a07c19a668630eac30d07fbbf3d67;hp=de8714f73ef873697b6660a8b08cc0370f669388;hpb=0ba3f763e7369e7b52a12cf759560dc329e14f2e;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/integration-api/core.cpp b/dali/integration-api/core.cpp index de8714f..1f664e4 100644 --- a/dali/integration-api/core.cpp +++ b/dali/integration-api/core.cpp @@ -17,11 +17,15 @@ // CLASS HEADER #include +#include // INTERNAL INCLUDES #include +#include +#include #include #include +#include #include #include @@ -35,7 +39,7 @@ Core* Core::New( RenderController& renderController, PlatformAbstraction& platformAbstraction, GlAbstraction& glAbstraction, GlSyncAbstraction& glSyncAbstraction, - GestureManager& gestureManager, + GlContextHelperAbstraction& glContextHelperAbstraction, ResourcePolicy::DataRetention policy, RenderToFrameBuffer renderToFboEnabled, DepthBufferAvailable depthBufferAvailable, @@ -46,7 +50,7 @@ Core* Core::New( RenderController& renderController, platformAbstraction, glAbstraction, glSyncAbstraction, - gestureManager, + glContextHelperAbstraction, policy, renderToFboEnabled, depthBufferAvailable, @@ -60,6 +64,11 @@ Core::~Core() delete mImpl; } +void Core::Initialize() +{ + mImpl->Initialize(); +} + ContextNotifierInterface* Core::GetContextNotifier() { return mImpl->GetContextNotifier(); @@ -80,19 +89,9 @@ void Core::RecoverFromContextLoss() mImpl->RecoverFromContextLoss(); } -void Core::SurfaceResized(uint32_t width, uint32_t height) -{ - mImpl->SurfaceResized(width, height); -} - -void Core::SetTopMargin( uint32_t margin ) -{ - mImpl->SetTopMargin(margin); -} - -void Core::SetDpi( uint32_t dpiHorizontal, uint32_t dpiVertical) +void Core::SurfaceDeleted( Integration::RenderSurface* surface ) { - mImpl->SetDpi(dpiHorizontal, dpiVertical); + mImpl->SurfaceDeleted(surface); } void Core::SceneCreated()