Graphics and Vulkan integration within Adaptor
[platform/core/uifw/dali-adaptor.git] / dali / internal / adaptor / common / adaptor-impl.h
index 5588cd8..a8f69ba 100755 (executable)
@@ -43,6 +43,8 @@
 #include <dali/integration-api/trigger-event-factory.h>
 #include <dali/internal/network/common/socket-factory.h>
 
+#include <memory>
+
 namespace Dali
 {
 
@@ -53,6 +55,10 @@ namespace Integration
 {
 class Core;
 class GlAbstraction;
+namespace Graphics
+{
+class Graphics;
+}
 }
 
 namespace Internal
@@ -245,6 +251,12 @@ public:
   Integration::GlAbstraction& GetGlAbstraction() const;
 
   /**
+   *
+   * @return the Graphics
+   */
+  Dali::Integration::Graphics::Graphics& GetGraphics() const;
+
+  /**
    * Return the PlatformAbstraction.
    * @return The PlatformAbstraction.
    */
@@ -601,6 +613,9 @@ private: // Data
   SocketFactory                         mSocketFactory;               ///< Socket factory
   const bool                            mEnvironmentOptionsOwned:1;   ///< Whether we own the EnvironmentOptions (and thus, need to delete it)
   bool                                  mUseRemoteSurface;            ///< whether the remoteSurface is used or not
+
+  std::unique_ptr<Dali::Integration::Graphics::Graphics> mGraphics;
+
 public:
   inline static Adaptor& GetImplementation(Dali::Adaptor& adaptor) {return *adaptor.mImpl;}
 };