Revert "[Tizen] Revert "Support multiple window rendering""
[platform/core/uifw/dali-adaptor.git] / dali / internal / window-system / tizen-wayland / display-connection-impl-ecore-wl.h
index 7c63d23..6bcf33d 100644 (file)
@@ -64,14 +64,21 @@ public:
   void ConsumeEvents();
 
   /**
-   * @copydoc Dali::DisplayConnection::InitializeEgl
+   * @copydoc Dali::DisplayConnection::InitializeGraphics
    */
-  bool InitializeEgl(EglInterface& egl);
+  bool InitializeGraphics();
 
   /**
-   * @brief Sets surface type
+   * @brief Sets the surface type
+   * @param[in] type The surface type
    */
-  void SetSurfaceType( RenderSurface::Type type );
+  void SetSurfaceType( Integration::RenderSurface::Type type );
+
+  /**
+   * @brief Sets the graphics interface
+   * @param[in] graphics The graphics interface
+   */
+  void SetGraphicsInterface( GraphicsInterface& graphics );
 
 public:
 
@@ -100,7 +107,8 @@ protected:
 
 private:
   EGLNativeDisplayType mDisplay;        ///< Wayland-display for rendering
-  RenderSurface::Type mSurfaceType;
+  Integration::RenderSurface::Type mSurfaceType;     ///< The surface type
+  GraphicsInterface* mGraphics;         ///< The graphics interface
 };
 
 } // namespace Adaptor