Revert "[Tizen] Remove the calling of ecore_wl2_display_screen_size_get() in render...
authorhuiyu.eun <huiyu.eun@samsung.com>
Wed, 25 Sep 2019 05:23:11 +0000 (14:23 +0900)
committerhuiyu.eun <huiyu.eun@samsung.com>
Wed, 25 Sep 2019 05:23:11 +0000 (14:23 +0900)
This reverts commit e450248fcb50b95ec0413fd6598aa0c1e36e9e21.

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

index 1b18498..eff8745 100755 (executable)
@@ -256,8 +256,10 @@ void WindowRenderSurface::CreateSurface()
   // Check rotation capability
   mRotationSupported = mWindowBase->IsEglWindowRotationSupported();
 
-  DALI_LOG_RELEASE_INFO("WindowRenderSurface::CreateSurface: w = %d h = %d angle = %d screen rotation = %d\n",
-      mPositionSize.width, mPositionSize.height, mRotationAngle, mScreenRotationAngle );
+  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 );
 }
 
 void WindowRenderSurface::DestroySurface()