#define DALI_INTERNAL_ADAPTOR_INTERNAL_SERVICES_H
/*
- * Copyright (c) 2014 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.
#include <dali/integration-api/gl-abstraction.h>
// INTERNAL INCLUDES
-#include <dali/integration-api/trigger-event-interface.h>
-#include <dali/integration-api/trigger-event-factory-interface.h>
-#include <dali/internal/window-system/common/display-connection.h>
+#include <dali/integration-api/adaptor-framework/render-surface-interface.h>
+#include <dali/integration-api/adaptor-framework/trigger-event-interface.h>
#include <dali/internal/graphics/common/graphics-interface.h>
-#include <dali/internal/graphics/gles20/egl-factory-interface.h>
+#include <dali/internal/graphics/gles/egl-factory-interface.h>
#include <dali/internal/network/common/socket-factory-interface.h>
-#include <dali/internal/system/common/performance-interface.h>
-#include <dali/internal/graphics/common/vsync-monitor-interface.h>
#include <dali/internal/network/common/trace-interface.h>
-#include <dali/integration-api/render-surface.h>
-
+#include <dali/internal/system/common/performance-interface.h>
+#include <dali/internal/window-system/common/display-connection.h>
namespace Dali
{
namespace Adaptor
{
+class SceneHolder;
+using WindowContainer = std::vector<Internal::Adaptor::SceneHolder*>;
+
/**
* A class to contain various interfaces provided by the adaptor which
* can be used by the cross platform parts of adaptor.
virtual TriggerEventInterface& GetProcessCoreEventsTrigger() = 0;
/**
- * @return trigger event factory interface
- */
- virtual TriggerEventFactoryInterface& GetTriggerEventFactoryInterface() = 0;
-
- /**
* @return socket factory interface
*/
virtual SocketFactoryInterface& GetSocketFactoryInterface() = 0;
/**
* @return render surface
*/
- virtual RenderSurface* GetRenderSurfaceInterface() = 0;
-
- /**
- * @return vsync monitor interface
- */
- virtual VSyncMonitorInterface* GetVSyncMonitorInterface() = 0;
+ virtual Dali::RenderSurfaceInterface* GetRenderSurfaceInterface() = 0;
/**
* @return performance interface
*/
virtual TraceInterface& GetSystemTraceInterface() = 0;
+ /**
+ * Used to access the list of windows from the Render thread
+ * @param[out] windows The list of created windows
+ */
+ virtual void GetWindowContainerInterface( WindowContainer& windows ) = 0;
protected: