[Tizen] Remove the calling of ecore_wl2_display_screen_size_get() in render-thread. 85/214085/1
authorWonsik Jung <sidein@samsung.com>
Wed, 18 Sep 2019 00:42:24 +0000 (09:42 +0900)
committerWonsik Jung <sidein@samsung.com>
Wed, 18 Sep 2019 01:43:45 +0000 (10:43 +0900)
For thread-safe, ecore_wl2_display_screen_size_get() should be called in main-thread.

Change-Id: Id00a8ba41d7716dc6beb63b3d5294a73ff78b9dc

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

index eff8745..1b18498 100755 (executable)
@@ -256,10 +256,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()