Removed GL and GL Sync implementations
[platform/core/uifw/dali-adaptor.git] / dali / internal / graphics / gles20 / egl-factory.cpp
index c5250fb..8483d7e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2018 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,7 +21,7 @@
 // INTERNAL INCLUDES
 #include <dali/internal/graphics/gles20/egl-implementation.h>
 #include <dali/internal/graphics/common/egl-image-extensions.h>
-#include <dali/internal/graphics/gles20/egl-sync-implementation.h>
+
 
 namespace Dali
 {
@@ -35,7 +35,6 @@ EglFactory::EglFactory( int multiSamplingLevel,
                         Integration::StencilBufferAvailable stencilBufferRequired )
 : mEglImplementation(NULL),
   mEglImageExtensions(NULL),
-  mEglSync(new EglSyncImplementation), // Created early, as needed by Core constructor
   mMultiSamplingLevel( multiSamplingLevel ),
   mDepthBufferRequired( depthBufferRequired ),
   mStencilBufferRequired( stencilBufferRequired )
@@ -47,7 +46,6 @@ EglFactory::~EglFactory()
   // Ensure the EGL implementation is destroyed
   delete mEglImageExtensions;
   delete mEglImplementation;
-  delete mEglSync;
 }
 
 EglInterface* EglFactory::Create()
@@ -55,8 +53,6 @@ EglInterface* EglFactory::Create()
   // Created by RenderThread (After Core construction)
   mEglImplementation = new EglImplementation( mMultiSamplingLevel, mDepthBufferRequired, mStencilBufferRequired );
   mEglImageExtensions = new EglImageExtensions( mEglImplementation );
-
-  mEglSync->Initialize(mEglImplementation); // The sync impl needs the EglDisplay
   return mEglImplementation;
 }
 
@@ -78,11 +74,6 @@ EglImageExtensions* EglFactory::GetImageExtensions()
   return mEglImageExtensions;
 }
 
-EglSyncImplementation* EglFactory::GetSyncImplementation()
-{
-  return mEglSync;
-}
-
 } // Adaptor
 } // Internal
 } // Dali