X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ffilters%2Femboss-filter.h;h=122c70ceb3cb0d99d917e6a1d4016751d5cdfd8f;hb=c07d1103398629d6028d8701ce80c971364dcccf;hp=c91242840395174acf38c77344a2ce70f975f7f8;hpb=2ddfbb9e23a7c3fc30e604236c41e0ef6d2ed6a2;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 c912428..122c70c 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) 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. @@ -19,9 +19,9 @@ */ // EXTERNAL INCLUDES -#include -#include #include +#include +#include // INTERNAL INCLUDES #include "image-filter.h" @@ -53,24 +53,19 @@ 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(); @@ -81,17 +76,16 @@ private: 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 +94,5 @@ private: // Attributes } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H__ +#endif // DALI_TOOLKIT_INTERNAL_EMBOSS_FILTER_H