X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ffilters%2Femboss-filter.h;h=4a519b106ea75b35799268a6ac870cee72a70ba1;hb=a88db82a75443d573185aea2938f1f0be141ca64;hp=d61a8235563a02a199ad306071a86ad45a6e77db;hpb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/filters/emboss-filter.h b/dali-toolkit/internal/filters/emboss-filter.h index d61a823..4a519b1 100644 --- a/dali-toolkit/internal/filters/emboss-filter.h +++ b/dali-toolkit/internal/filters/emboss-filter.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H /* - * Copyright (c) 2019 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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,19 +20,18 @@ // EXTERNAL INCLUDES #include -#include -#include +#include +#include + +// INTERNAL INCLUDES #include "image-filter.h" namespace Dali { - namespace Toolkit { - namespace Internal { - /** * An embossing image filter, implements Dali::Toolkit::Internal::ImageFilter */ @@ -51,16 +50,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; private: /** @@ -69,21 +68,20 @@ private: void CreateRenderTasks(); private: - EmbossFilter( const EmbossFilter& ); - EmbossFilter& operator=( const EmbossFilter& ); + EmbossFilter(const EmbossFilter&); + EmbossFilter& operator=(const EmbossFilter&); private: // Attributes - - RenderTask mRenderTaskForEmboss1; - RenderTask mRenderTaskForEmboss2; - RenderTask mRenderTaskForOutput; - FrameBufferImage mImageForEmboss1; - FrameBufferImage mImageForEmboss2; - Toolkit::ImageView mActorForInput1; - Toolkit::ImageView mActorForInput2; - Toolkit::Visual::Base mVisualForEmboss1; - Toolkit::Visual::Base mVisualForEmboss2; - Actor mActorForComposite; + RenderTask mRenderTaskForEmboss1; + RenderTask mRenderTaskForEmboss2; + RenderTask mRenderTaskForOutput; + FrameBuffer mFrameBufferForEmboss1; + FrameBuffer mFrameBufferForEmboss2; + Actor mActorForInput1; + Actor mActorForInput2; + Renderer mRendererForEmboss1; + Renderer mRendererForEmboss2; + Actor mActorForComposite; }; // class EmbossFilter } // namespace Internal @@ -93,4 +91,3 @@ private: // Attributes } // namespace Dali #endif // DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H -