#include <dali/public-api/object/any.h>
#include <dali/public-api/common/view-mode.h>
#include <dali/integration-api/core-enumerations.h>
+#include <vector>
namespace Dali
{
virtual void GetDpi( unsigned int& dpiHorizontal, unsigned int& dpiVertical ) = 0;
/**
+ * @brief Return the orientation of the surface.
+ * @return The orientation
+ */
+ virtual int GetOrientation() const = 0;
+
+ /**
* @brief InitializeGraphics the platform specific graphics surface interfaces
*/
virtual void InitializeGraphics() = 0;
virtual Integration::StencilBufferAvailable GetStencilBufferRequired() = 0;
/**
- * @brief Sets the background color of the surface.
- * @param[in] color The new background color
+ * @brief Sets currentframe updated/damaged rects
+ * @return
*/
- virtual void SetBackgroundColor(Vector4 color) = 0;
+ virtual Rect<int32_t> SetDamagedRect( Rect<int32_t> damagedRectArray ) = 0;
/**
- * @brief Gets the background color of the surface.
- * @return The background color
+ * @brief Gets buffer age
+ * @return current buffer age
*/
- virtual Vector4 GetBackgroundColor() = 0;
+ virtual int32_t GetBufferAge() = 0;
private: