From bfcbf40ba0b5fca5980b89074fb8cf12c53cb4c0 Mon Sep 17 00:00:00 2001 From: Wonsik Jung Date: Mon, 23 Sep 2019 09:39:31 +0900 Subject: [PATCH] Avoid to call ecore wayland API in render thread 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 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dali/internal/window-system/common/window-render-surface.cpp b/dali/internal/window-system/common/window-render-surface.cpp index 8bb94c5..f1e4cb7 100644 --- a/dali/internal/window-system/common/window-render-surface.cpp +++ b/dali/internal/window-system/common/window-render-surface.cpp @@ -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() -- 2.7.4