#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.
// 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
{
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: