Remove some meaningless log output & convert other log warnings to log info 57/110057/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 12 Jan 2017 15:46:56 +0000 (15:46 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Thu, 12 Jan 2017 15:46:56 +0000 (15:46 +0000)
Change-Id: Ifeb876e6f9ac9e25d455db58e8464ddf8ac5d95b

adaptors/common/gl/egl-implementation.cpp
adaptors/x11/ecore-x-render-surface.cpp
adaptors/x11/imf-manager-impl-x.cpp

index 57fd7c7..88a7b64 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
@@ -297,7 +297,7 @@ void EglImplementation::ChooseConfig( bool isWindowType, ColorDepth depth )
 
 #else // DALI_GLES_VERSION >= 30
 
-  DALI_LOG_WARNING( "Using OpenGL ES 2 \n" );
+  Integration::Log::LogMessage( Integration::Log::DebugInfo, "Using OpenGL ES 2 \n" );
   configAttribs.PushBack( EGL_OPENGL_ES2_BIT );
 
 #endif //DALI_GLES_VERSION >= 30
index 70b4694..df81aca 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
@@ -73,14 +73,6 @@ void EcoreXRenderSurface::Init( Any surface )
     // XLib should already be initialized so no point in calling XInitThreads
     UseExistingRenderable( surfaceId );
   }
-
-#ifdef DEBUG_ENABLED
-  // prints out 'INFO: DALI: new EcoreXRenderSurface, used existing surface xx
-  // we can not use LOG_INFO because the surface can be created before Dali Core is created.
-  printf( "INFO: DALI: new EcoreXRenderSurface, %s surface %X \n",
-          mOwnSurface?"created":"used existing",
-          AnyCast<Ecore_X_Drawable>( GetSurface() ) );
-#endif
 }
 
 EcoreXRenderSurface::~EcoreXRenderSurface()
index 14dc385..ff67cb3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 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.
@@ -215,12 +215,12 @@ void ImfManager::CreateContext( Ecore_X_Window ecoreXwin )
     }
     else
     {
-      DALI_LOG_WARNING("IMF Unable to get IMF Context\n");
+      DALI_LOG_INFO( gLogFilter, Debug::General, "IMF Unable to get IMF Context\n");
     }
   }
   else
   {
-    DALI_LOG_WARNING("IMF Unable to get IMF Context\n");
+    DALI_LOG_INFO( gLogFilter, Debug::General, "IMF Unable to get IMF Context\n");
   }
 }