X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ffilters%2Fimage-filter.h;h=dbab5b126b7b9fcce40863a4bcd7bd27a6419a02;hp=bc4b16458439c10b308f95f7dc75352890617477;hb=b694e7e2ae624e206e1548b1a863c554eb9cd4d7;hpb=1c5674a11a51310ee689d6daf4e6b7d94dec607e diff --git a/dali-toolkit/internal/filters/image-filter.h b/dali-toolkit/internal/filters/image-filter.h index bc4b164..dbab5b1 100644 --- a/dali-toolkit/internal/filters/image-filter.h +++ b/dali-toolkit/internal/filters/image-filter.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_INTERNAL_IMAGE_FILTER_H__ -#define __DALI_TOOLKIT_INTERNAL_IMAGE_FILTER_H__ +#ifndef DALI_TOOLKIT_INTERNAL_IMAGE_FILTER_H +#define DALI_TOOLKIT_INTERNAL_IMAGE_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,6 +19,7 @@ */ // EXTERNAL INCLUDES +#include // INTERNAL INCLUDES #include @@ -136,22 +137,24 @@ public: */ void SetBackgroundColor( const Vector4& color ); +protected: + /** - * Enable optional debug output in the shader - * @param[in] flag Set true to enable, dalse to disable. + * Setup position and parameters for camera */ - void RenderDebug( bool flag ); + void SetupCamera(); protected: Image mInputImage; FrameBufferImage mOutputImage; FilterKernel mKernel; Actor mRootActor; + CameraActor mCameraActor; Vector4 mBackgroundColor; Vector2 mTargetSize; Pixel::Format mPixelFormat; bool mRefreshOnDemand; - bool mDebugRender; + }; // class Imagefilter } // namespace Internal @@ -160,5 +163,5 @@ protected: } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_IMAGE_FILTER_H__ +#endif // DALI_TOOLKIT_INTERNAL_IMAGE_FILTER_H