X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fgaussian-blur-view%2Fgaussian-blur-view-impl.h;h=1b3bf38ddb935e1ff3f158a6e5b3f38915b1ff16;hb=refs%2Fchanges%2F49%2F88249%2F1;hp=7f3848923140a09c114eb9b5733c330e35e39c7a;hpb=c21f89ce2860e287d964cf11c5267f9d240660f4;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 7f38489..1b3bf38 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 @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_INTERNAL_GAUSSIAN_BLUR_EFFECT_H__ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 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,10 +21,11 @@ // EXTERNAL INCLUDES #include #include +#include // INTERNAL INCLUDES #include -#include +#include #include namespace Dali @@ -98,6 +99,16 @@ private: virtual void OnInitialize(); virtual void OnSizeSet(const Vector3& targetSize); + /** + * @copydoc Control::OnChildAdd() + */ + virtual void OnChildAdd( Actor& child ); + + /** + * @copydoc Control::OnChildRemove() + */ + virtual void OnChildRemove( Actor& child ); + void SetBlurBellCurveWidth(float blurBellCurveWidth); float CalcGaussianWeight(float x); void SetShaderConstants(); @@ -138,6 +149,8 @@ private: ///////////////////////////////////////////////////////////// // for creating a subtree for all user added child actors, so that we can have them exclusive to the mRenderChildrenTask and our other actors exclusive to our other tasks Actor mChildrenRoot; + // for creating a subtree for the internal actors + Actor mInternalRoot; ///////////////////////////////////////////////////////////// // for mapping offscreen renders to render target sizes @@ -154,15 +167,17 @@ private: FrameBufferImage mRenderTarget1; FrameBufferImage mRenderTarget2; - Toolkit::ImageView mImageActorHorizBlur; - Toolkit::ImageView mImageActorVertBlur; + Toolkit::ImageView mImageViewHorizBlur; + Toolkit::ImageView mImageViewVertBlur; + + Property::Map mCustomShader; RenderTask mHorizBlurTask; RenderTask mVertBlurTask; ///////////////////////////////////////////////////////////// // for compositing blur and children renders to offscreen target - Toolkit::ImageView mImageActorComposite; + Toolkit::ImageView mImageViewComposite; RenderTask mCompositeTask; /////////////////////////////////////////////////////////////