[Tizen] Add screen and client rotation itself function
[platform/core/uifw/dali-adaptor.git] / dali / internal / window-system / common / display-connection-impl.h
index 7e73ef1..8ced957 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_WINDOWSYSTEM_COMMON_DISPLAY_CONNECTION_IMPL_H
 
 /*
- * Copyright (c) 2015 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.
@@ -21,9 +21,8 @@
 // INTERNAL INCLUDES
 #include <dali/internal/window-system/common/display-connection.h>
 #include <dali/public-api/object/base-object.h>
-#include <dali/internal/graphics/gles20/egl-implementation.h>
+#include <dali/internal/graphics/gles/egl-implementation.h>
 
-#include <memory>
 
 namespace Dali
 {
@@ -67,11 +66,21 @@ public:
   virtual void ConsumeEvents() = 0;
 
   /**
-   * @copydoc Dali::DisplayConnection::InitializeEgl
+   * @copydoc Dali::DisplayConnection::InitializeGraphics
    */
-  virtual bool InitializeEgl(EglInterface& egl) = 0;
+  virtual bool InitializeGraphics() = 0;
 
-  virtual void SetSurfaceType( RenderSurface::Type type ) = 0;
+  /**
+   * Sets the render surface type
+   * @param[in] type The render surface type
+   */
+  virtual void SetSurfaceType( Dali::RenderSurfaceInterface::Type type ) = 0;
+
+  /**
+   * Sets the graphics interface
+   * @param[in] graphics The graphics interface
+   */
+  virtual void SetGraphicsInterface( GraphicsInterface& graphics ) = 0;
 
 public: