X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fadaptor%2Fcommon%2Fadaptor.cpp;h=bde2864547e2d1c2bbb6cd627e47f723b9aa46b4;hb=3259f7e05d09669ec473725ac360652beb6ed0b3;hp=17b080588b1bb142dd29bfe8b6bfa259b6d15446;hpb=6fcca8ecfbad22f60875869f04c6e023ef7f5ae3;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/adaptor/common/adaptor.cpp b/dali/internal/adaptor/common/adaptor.cpp index 17b0805..bde2864 100755 --- a/dali/internal/adaptor/common/adaptor.cpp +++ b/dali/internal/adaptor/common/adaptor.cpp @@ -22,7 +22,6 @@ #include // INTERNAL INCLUDES -#include #include #include #include @@ -115,6 +114,11 @@ bool Adaptor::AddIdle( CallbackBase* callback, bool hasReturnValue ) return mImpl->AddIdle( callback, hasReturnValue, false ); } +bool Adaptor::AddWindow( Dali::Integration::SceneHolder childWindow, const std::string& childWindowName, const std::string& childWindowClassName, bool childWindowMode ) +{ + return mImpl->AddWindow( childWindow, childWindowName, childWindowClassName, childWindowMode ); +} + void Adaptor::RemoveIdle( CallbackBase* callback ) { mImpl->RemoveIdle( callback ); @@ -156,6 +160,11 @@ Any Adaptor::GetNativeWindowHandle() return mImpl->GetNativeWindowHandle(); } +Any Adaptor::GetNativeWindowHandle( Actor actor ) +{ + return mImpl->GetNativeWindowHandle( actor ); +} + Any Adaptor::GetGraphicsDisplay() { return mImpl->GetGraphicsDisplay(); @@ -176,11 +185,6 @@ void Adaptor::SetPreRenderCallback( CallbackBase* callback ) mImpl->SetPreRenderCallback( callback ); } -void Adaptor::SetUseHardwareVSync(bool useHardware) -{ - mImpl->SetUseHardwareVSync( useHardware ); -} - Adaptor& Adaptor::Get() { return Internal::Adaptor::Adaptor::Get(); @@ -221,6 +225,16 @@ void Adaptor::SceneCreated() mImpl->SceneCreated(); } +void Adaptor::SurfaceResizePrepare( Dali::RenderSurfaceInterface* surface, SurfaceSize surfaceSize ) +{ + mImpl->SurfaceResizePrepare( surface, surfaceSize ); +} + +void Adaptor::SurfaceResizeComplete( Dali::RenderSurfaceInterface* surface, SurfaceSize surfaceSize ) +{ + mImpl->SurfaceResizeComplete( surface, surfaceSize ); +} + void Adaptor::RenderOnce() { mImpl->RenderOnce(); @@ -246,6 +260,16 @@ Dali::WindowContainer Adaptor::GetWindows() const return mImpl->GetWindows(); } +void Adaptor::OnWindowShown() +{ + mImpl->OnWindowShown(); +} + +void Adaptor::OnWindowHidden() +{ + mImpl->OnWindowHidden(); +} + Adaptor::Adaptor() : mImpl( NULL ) {