X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fadaptor%2Fcommon%2Fadaptor-impl.cpp;h=189ac3bf10aec712b08686c3090b0d988ef8b8a8;hb=15cb030e9396d29dab2de0bd298c1daf810bcf5f;hp=868345d9d9e57da039c0b137f5503d148c0b0c20;hpb=1b1f0291330ff577cef1ad45fbc93a2976b07c88;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/adaptor/common/adaptor-impl.cpp b/dali/internal/adaptor/common/adaptor-impl.cpp index 868345d..189ac3b 100755 --- a/dali/internal/adaptor/common/adaptor-impl.cpp +++ b/dali/internal/adaptor/common/adaptor-impl.cpp @@ -184,7 +184,8 @@ void Adaptor::Initialize( GraphicsFactory& graphicsFactory, Dali::Configuration: dataRetentionPolicy , ( 0u != mEnvironmentOptions->GetRenderToFboInterval() ) ? Integration::RenderToFrameBuffer::TRUE : Integration::RenderToFrameBuffer::FALSE, mGraphics->GetDepthBufferRequired(), - mGraphics->GetStencilBufferRequired() ); + mGraphics->GetStencilBufferRequired(), + mGraphics->PartialUpdateAvailable() ); defaultWindow->SetAdaptor( Get() ); @@ -291,7 +292,7 @@ void Adaptor::Initialize( GraphicsFactory& graphicsFactory, Dali::Configuration: } std::string systemCachePath = GetSystemCachePath(); - if ( systemCachePath.c_str() != NULL ) + if ( ! systemCachePath.empty() ) { Dali::FileStream fileStream( systemCachePath + "gpu-environment.conf", Dali::FileStream::READ | Dali::FileStream::TEXT ); std::fstream& stream = dynamic_cast( fileStream.GetStream() ); @@ -399,7 +400,7 @@ void Adaptor::Start() Dali::TizenPlatform::ImageLoader::SetMaxTextureSize( mGLES.GetMaxTextureSize() ); std::string systemCachePath = GetSystemCachePath(); - if( systemCachePath.c_str() != NULL ) + if( ! systemCachePath.empty() ) { const int dir_err = system( std::string( "mkdir " + systemCachePath ).c_str() ); if (-1 == dir_err)