X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ffilters%2Femboss-filter.h;h=4a519b106ea75b35799268a6ac870cee72a70ba1;hp=c91242840395174acf38c77344a2ce70f975f7f8;hb=cc7137614f4136f571ccecc22ad1b72c01f16156;hpb=2ddfbb9e23a7c3fc30e604236c41e0ef6d2ed6a2 diff --git a/dali-toolkit/internal/filters/emboss-filter.h b/dali-toolkit/internal/filters/emboss-filter.h index c912428..4a519b1 100644 --- a/dali-toolkit/internal/filters/emboss-filter.h +++ b/dali-toolkit/internal/filters/emboss-filter.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H__ -#define __DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H__ +#ifndef DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H +#define DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H /* - * Copyright (c) 2014 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. @@ -19,22 +19,19 @@ */ // 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 */ @@ -53,45 +50,38 @@ 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: /** - * Setup position and parameters for camera - */ - void SetupCamera(); - - /** * Setup render tasks for blur */ 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; - CameraActor mCameraActor; - ImageActor mActorForInput1; - ImageActor mActorForInput2; - ImageActor mActorForEmboss1; - ImageActor mActorForEmboss2; - 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 @@ -100,5 +90,4 @@ private: // Attributes } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H__ - +#endif // DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H