X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fshadow-view%2Fshadow-view-impl.h;h=65516c32484f39ca319a4cc7f8179a1fff382947;hb=8a647e87a01c5c78451653c1264a9eea81ac9b20;hp=10c08871134ce07963967bd7fe49a416cae70edb;hpb=278493dcbeb50938256b776d84c41ae4665d9a29;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h b/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h index 10c0887..65516c3 100644 --- a/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h +++ b/dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H__ -#define __DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H__ +#ifndef DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H +#define DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_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. @@ -24,7 +24,6 @@ #include #include #include -#include #include // INTERNAL INCLUDES @@ -115,17 +114,17 @@ public: private: - virtual void OnInitialize(); + void OnInitialize() override; /** * @copydoc Control::OnChildAdd() */ - virtual void OnChildAdd( Actor& child ); + void OnChildAdd( Actor& child ) override; /** * @copydoc Control::OnChildRemove() */ - virtual void OnChildRemove( Actor& child ); + void OnChildRemove( Actor& child ) override; /** * Constrain the camera actor to the position of the point light, pointing @@ -138,14 +137,14 @@ private: void CreateBlurFilter(); private: - Toolkit::ImageView mShadowPlane; // Shadow renders into this actor + Actor mShadowPlane; // Shadow renders into this actor Actor mShadowPlaneBg; // mShadowPlane renders directly in front of this actor Actor mPointLight; // Shadow is cast from this point light ///////////////////////////////////////////////////////////// - FrameBufferImage mSceneFromLightRenderTarget; // for rendering normal scene seen from light to texture instead of the screen + FrameBuffer mSceneFromLightRenderTarget; // for rendering normal scene seen from light to texture instead of the screen - FrameBufferImage mOutputImage; + FrameBuffer mOutputFrameBuffer; Actor mChildrenRoot; // Subtree for all user added child actors that should be rendered normally Actor mBlurRootActor; // Root actor for blur filter processing @@ -153,7 +152,7 @@ private: CameraActor mCameraActor; // Constrained to same position as mPointLight and pointing at mShadowPlane - Property::Map mShadowRenderShader; + Property::Map mShadowVisualMap; BlurTwoPassFilter mBlurFilter; Vector4 mCachedShadowColor; ///< Cached Shadow color. @@ -198,4 +197,4 @@ inline const Toolkit::Internal::ShadowView& GetImpl( const Toolkit::ShadowView& } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H__ +#endif // DALI_TOOLKIT_INTERNAL_SHADOW_VIEW_H