X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ffilters%2Fimage-filter.h;h=d73f9e6884ea22f20988f75c32cdd7129a572fcc;hb=ee7b436210b09635d032b50eefecb7369be136e7;hp=3a4fac907a8766e00274a282a4a39f58843d26de;hpb=278493dcbeb50938256b776d84c41ae4665d9a29;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/filters/image-filter.h b/dali-toolkit/internal/filters/image-filter.h index 3a4fac9..d73f9e6 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. @@ -20,6 +20,8 @@ // EXTERNAL INCLUDES #include +#include +#include // INTERNAL INCLUDES #include @@ -36,7 +38,7 @@ namespace Internal /** * An interface class that provides a interface for image filters that perform - * a simple shader effect on an input image, rendering the output to a FrameBufferImage. + * a simple shader effect on an input texture, rendering the output to a FrameBuffer. */ class ImageFilter { @@ -76,16 +78,16 @@ public: void SetRefreshOnDemand( bool onDemand ); /** - * Set the input image - * @param[in] The input/original image. + * Set the input texture + * @param[in] The input/original texture. */ - void SetInputImage( Image image ); + void SetInputTexture( Texture texture ); /** - * Set the output image - * @return The output image. + * Set the output frame buffer + * @return The output frame buffer. */ - void SetOutputImage( FrameBufferImage image ); + void SetOutputFrameBuffer( FrameBuffer frameBuffer ); /** * Set size of ImageFilter. Used to create internal offscreen buffers @@ -145,8 +147,8 @@ protected: void SetupCamera(); protected: - Image mInputImage; - FrameBufferImage mOutputImage; + Texture mInputTexture; + FrameBuffer mOutputFrameBuffer; FilterKernel mKernel; Actor mRootActor; CameraActor mCameraActor; @@ -163,5 +165,5 @@ protected: } // namespace Dali -#endif // __DALI_TOOLKIT_INTERNAL_IMAGE_FILTER_H__ +#endif // DALI_TOOLKIT_INTERNAL_IMAGE_FILTER_H