-#ifndef __DALI_TOOLKIT_GAUSSIAN_BLUR_EFFECT_H__
-#define __DALI_TOOLKIT_GAUSSIAN_BLUR_EFFECT_H__
+#ifndef DALI_TOOLKIT_GAUSSIAN_BLUR_EFFECT_H
+#define DALI_TOOLKIT_GAUSSIAN_BLUR_EFFECT_H
/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 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.
// EXTERNAL INCLUDES
#include <dali/public-api/actors/camera-actor.h>
#include <dali/public-api/common/dali-vector.h>
-#include <dali/public-api/images/frame-buffer-image.h>
+#include <dali/public-api/rendering/frame-buffer.h>
+#include <dali/public-api/rendering/texture.h>
#include <dali/public-api/render-tasks/render-task.h>
// INTERNAL INCLUDES
* @brief Render the GaussianBlurView once.
*
* Must be called after you Add() it to the stage.
- * Only works with a gaussian blur view created with blurUserImage = true.
* Listen to the Finished signal to determine when the rendering has completed.
* @SINCE_1_0.0
*/
* @param outputRenderTarget A render target to receive the blurred result. Passing NULL is allowed. See also GetBlurredRenderTarget().
* @pre This object was created with a New( ... ) call where the blurUserImage argument was set to true. If this was not the case an exception will be thrown.
*/
- void SetUserImageAndOutputRenderTarget(Image inputImage, FrameBufferImage outputRenderTarget);
+ void SetUserImageAndOutputRenderTarget(Dali::Texture inputImage, Dali::FrameBuffer outputRenderTarget);
/**
* @brief Get the index of the property that can be used to fade the blur in / out.
* @return A handle on the blurred image, contained in a render target.
* @pre The user must call Activate() before the render target will be returned.
*/
- FrameBufferImage GetBlurredRenderTarget() const;
+ Dali::FrameBuffer GetBlurredRenderTarget() const;
/**
* @brief Set background color for the view. The background will be filled with this color.
} // namespace Dali
-#endif // __DALI_TOOLKIT_GAUSSIAN_BLUR_EFFECT_H__
+#endif // DALI_TOOLKIT_GAUSSIAN_BLUR_EFFECT_H