X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ffilters%2Fblur-two-pass-filter.h;h=8ff681aaac0d633cc336bdc091aaa57385f28e78;hb=e74563220e35ea81a5b932186221623eed0fc62e;hp=e130897bbf2a32fd45b4a8480d7b1f4fcba803a0;hpb=278493dcbeb50938256b776d84c41ae4665d9a29;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/filters/blur-two-pass-filter.h b/dali-toolkit/internal/filters/blur-two-pass-filter.h index e130897..8ff681a 100644 --- a/dali-toolkit/internal/filters/blur-two-pass-filter.h +++ b/dali-toolkit/internal/filters/blur-two-pass-filter.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_BLUR_TWO_PASS_FILTER_H__ -#define __DALI_TOOLKIT_INTERNAL_BLUR_TWO_PASS_FILTER_H__ +#ifndef DALI_TOOLKIT_INTERNAL_BLUR_TWO_PASS_FILTER_H +#define DALI_TOOLKIT_INTERNAL_BLUR_TWO_PASS_FILTER_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 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. @@ -20,8 +20,6 @@ // EXTERNAL INCLUDES #include -#include -#include // INTERNAL INCLUDES #include "image-filter.h" @@ -54,16 +52,16 @@ public: public: // From ImageFilter /// @copydoc Dali::Toolkit::Internal::ImageFilter::Enable - virtual void Enable(); + void Enable() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::Disable - virtual void Disable(); + void Disable() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::Refresh - virtual void Refresh(); + void Refresh() override; /// @copydoc Dali::Toolkit::Internal::ImageFilter::SetSize - virtual void SetSize( const Vector2& size ); + void SetSize( const Vector2& size ) override; /** * Get the property index that controls the strength of the blur applied to the image. Useful for animating this property. @@ -90,19 +88,19 @@ private: private: // Attributes - // To perform horizontal blur from mInputImage to mImageForHorz + // To perform horizontal blur from mInputTexture to mFrameBufferForHorz RenderTask mRenderTaskForHorz; - Toolkit::ImageView mActorForInput; - FrameBufferImage mImageForHorz; + Actor mActorForInput; + FrameBuffer mFrameBufferForHorz; - // To perform vertical blur from mImageForHorz to mOutputImage + // To perform vertical blur from mFrameBufferForHorz to mOutputFrameBuffer RenderTask mRenderTaskForVert; - Toolkit::ImageView mActorForHorz; - FrameBufferImage mBlurredImage; + Actor mActorForHorz; + FrameBuffer mBlurredFrameBuffer; // To blend the blurred image and input image according to the blur strength RenderTask mRenderTaskForBlending; - Toolkit::ImageView mActorForBlending; + Actor mActorForBlending; Actor mRootActorForBlending; Property::Index mBlurStrengthPropertyIndex; @@ -114,5 +112,5 @@ private: // Attributes } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_BLUR_TWO_PASS_FILTER_H__ +#endif // DALI_TOOLKIT_INTERNAL_BLUR_TWO_PASS_FILTER_H