From c8343f30b5f9674e296388ac1ea27cc59e7d9171 Mon Sep 17 00:00:00 2001 From: "huiyu.eun" Date: Wed, 25 Sep 2019 14:23:11 +0900 Subject: [PATCH] Revert "[Tizen] Remove the calling of ecore_wl2_display_screen_size_get() in render-thread." This reverts commit e450248fcb50b95ec0413fd6598aa0c1e36e9e21. --- dali/internal/window-system/common/window-render-surface.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dali/internal/window-system/common/window-render-surface.cpp b/dali/internal/window-system/common/window-render-surface.cpp index 1b18498..eff8745 100755 --- a/dali/internal/window-system/common/window-render-surface.cpp +++ b/dali/internal/window-system/common/window-render-surface.cpp @@ -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() -- 2.7.4