X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fsuper-blur-view%2Fsuper-blur-view-impl.cpp;h=6ed846fe92925b93d19f4a2e302a778c21adc014;hb=593ab514474062b4d3de55682e63627a79b2eb5a;hp=1d6072c4519f0cd62daf63c89071dd4aea94ccab;hpb=5e937a6322849b76d49d5b3f41cb5d91c94acd3e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.cpp b/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.cpp index 1d6072c..6ed846f 100644 --- a/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.cpp +++ b/dali-toolkit/internal/controls/super-blur-view/super-blur-view-impl.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 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. @@ -21,7 +21,7 @@ // EXTERNAL INCLUDES #include #include -#include +#include #include #include #include @@ -233,7 +233,7 @@ void SuperBlurView::BlurTexture( unsigned int idx, Texture texture ) GAUSSIAN_BLUR_RENDER_TARGET_PIXEL_FORMAT, GAUSSIAN_BLUR_DOWNSAMPLE_WIDTH_SCALE, GAUSSIAN_BLUR_DOWNSAMPLE_HEIGHT_SCALE, true ); mGaussianBlurView[idx].SetProperty( Actor::Property::PARENT_ORIGIN,ParentOrigin::CENTER ); - mGaussianBlurView[idx].SetSize(mTargetSize); + mGaussianBlurView[idx].SetProperty( Actor::Property::SIZE, mTargetSize ); Stage::GetCurrent().Add( mGaussianBlurView[idx] ); mGaussianBlurView[idx].SetUserImageAndOutputRenderTarget( texture, mBlurredImage[idx] ); @@ -294,15 +294,15 @@ void SuperBlurView::OnSizeSet( const Vector3& targetSize ) Control::OnSizeSet( targetSize ); } -void SuperBlurView::OnStageConnection( int depth ) +void SuperBlurView::OnSceneConnection( int depth ) { if( mTargetSize == Vector2::ZERO ) { return; } - // Exception to the rule, chaining up first ensures visuals have SetOnStage called to create their renderers - Control::OnStageConnection( depth ); + // Exception to the rule, chaining up first ensures visuals have SetOnScene called to create their renderers + Control::OnSceneConnection( depth ); Actor self = Self(); @@ -334,7 +334,7 @@ void SuperBlurView::OnStageConnection( int depth ) } } -void SuperBlurView::OnStageDisconnection() +void SuperBlurView::OnSceneDisconnection() { for(unsigned int i=0; i