X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=inline;f=dali-toolkit%2Finternal%2Fcontrols%2Fgaussian-blur-view%2Fgaussian-blur-view-impl.h;h=7f3848923140a09c114eb9b5733c330e35e39c7a;hb=397218b6cdd85915f5fe00fa9d3615dfa3867422;hp=9420d244751726614c8838f4de9a08d200b662be;hpb=2ddfbb9e23a7c3fc30e604236c41e0ef6d2ed6a2;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/gaussian-blur-view/gaussian-blur-view-impl.h b/dali-toolkit/internal/controls/gaussian-blur-view/gaussian-blur-view-impl.h index 9420d24..7f38489 100644 --- a/dali-toolkit/internal/controls/gaussian-blur-view/gaussian-blur-view-impl.h +++ b/dali-toolkit/internal/controls/gaussian-blur-view/gaussian-blur-view-impl.h @@ -25,6 +25,7 @@ // INTERNAL INCLUDES #include #include +#include namespace Dali { @@ -95,10 +96,7 @@ public: private: virtual void OnInitialize(); - virtual void OnControlSizeSet(const Vector3& targetSize); - virtual void OnStageDisconnection(); - - virtual void OnControlStageConnection(); + virtual void OnSizeSet(const Vector3& targetSize); void SetBlurBellCurveWidth(float blurBellCurveWidth); float CalcGaussianWeight(float x); @@ -156,23 +154,20 @@ private: FrameBufferImage mRenderTarget1; FrameBufferImage mRenderTarget2; - ShaderEffect mHorizBlurShader; - ShaderEffect mVertBlurShader; - - ImageActor mImageActorHorizBlur; - ImageActor mImageActorVertBlur; + Toolkit::ImageView mImageActorHorizBlur; + Toolkit::ImageView mImageActorVertBlur; RenderTask mHorizBlurTask; RenderTask mVertBlurTask; ///////////////////////////////////////////////////////////// // for compositing blur and children renders to offscreen target - ImageActor mImageActorComposite; + Toolkit::ImageView mImageActorComposite; RenderTask mCompositeTask; ///////////////////////////////////////////////////////////// // for holding blurred result - ImageActor mTargetActor; + Toolkit::ImageView mTargetActor; ///////////////////////////////////////////////////////////// // for animating fade in / out of blur, hiding internal implementation but allowing user to set via GaussianBlurView interface @@ -184,6 +179,8 @@ private: FrameBufferImage mUserOutputRenderTarget; Dali::Toolkit::GaussianBlurView::GaussianBlurViewSignal mFinishedSignal; ///< Signal emitted when blur has completed. + + bool mActivated:1; private: // Undefined copy constructor.