-#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.
*/
// EXTERNAL INCLUDES
+#include <dali/public-api/actors/camera-actor.h>
// INTERNAL INCLUDES
#include <dali-toolkit/public-api/controls/control-impl.h>
*/
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
} // namespace Dali
-#endif // __DALI_TOOLKIT_INTERNAL_IMAGE_FILTER_H__
+#endif // DALI_TOOLKIT_INTERNAL_IMAGE_FILTER_H