Avoid to call ecore wayland API in render thread 09/214409/1
authorWonsik Jung <sidein@samsung.com>
Mon, 23 Sep 2019 00:39:31 +0000 (09:39 +0900)
committerWonsik Jung <sidein@samsung.com>
Mon, 23 Sep 2019 00:39:31 +0000 (09:39 +0900)
Avoid to call ecore wayland API in render thread.
Because of thread safe.

Change-Id: I2800dc97f366a9b4a4bb07037baae95b3a937be4

dali/internal/window-system/common/window-render-surface.cpp

index 8bb94c5..f1e4cb7 100644 (file)
@@ -252,10 +252,8 @@ void WindowRenderSurface::CreateSurface()
   // Check rotation capability
   mRotationSupported = mWindowBase->IsEglWindowRotationSupported();
 
-  int screenWidth, screenHeight;
-  WindowSystem::GetScreenSize( screenWidth, screenHeight );
-  DALI_LOG_RELEASE_INFO("WindowRenderSurface::CreateSurface: w = %d h = %d screenWidth = %d screenHeight = %d angle = %d screen rotation = %d\n",
-      mPositionSize.width, mPositionSize.height, screenWidth, screenHeight, mRotationAngle, mScreenRotationAngle );
+  DALI_LOG_RELEASE_INFO("WindowRenderSurface::CreateSurface: w = %d h = %d angle = %d screen rotation = %d\n",
+      mPositionSize.width, mPositionSize.height, mRotationAngle, mScreenRotationAngle );
 }
 
 void WindowRenderSurface::DestroySurface()