X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ffilters%2Fblur-two-pass-filter.h;h=8ff681aaac0d633cc336bdc091aaa57385f28e78;hp=3e73a27ce86acd95f8a5e5ebcc18c25339c43b5d;hb=0e1683ef848d1d877e26633609fa95e0d2ab36b5;hpb=3ef357cc431d17b7be772f0f74acb080feab123e diff --git a/dali-toolkit/internal/filters/blur-two-pass-filter.h b/dali-toolkit/internal/filters/blur-two-pass-filter.h index 3e73a27..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,7 +20,6 @@ // EXTERNAL INCLUDES #include -#include // INTERNAL INCLUDES #include "image-filter.h" @@ -53,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. @@ -89,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; @@ -113,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