[Tizen] Disable PreRotation function 64/251964/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/hotfix/20210122.054431 submit/tizen_6.0_hotfix/20210122.020620
authorWonsik Jung <sidein@samsung.com>
Thu, 21 Jan 2021 07:07:28 +0000 (16:07 +0900)
committerWonsik Jung <sidein@samsung.com>
Thu, 21 Jan 2021 07:07:28 +0000 (16:07 +0900)
Disable prerotation function for screen rotation.
Because screen rotation works before wl-egl-window is created and prerotation needs the wl-egl-window.
In addition, prerotaiton does not work in tizen commercial product.

Change-Id: I14ee7c9e90e085790207d336eee8a214605b2b21

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

index b608a27..f90c694 100644 (file)
@@ -465,7 +465,6 @@ bool WindowRenderSurface::PreRender( bool resizingSurface, const std::vector<Rec
     // Window rotate or screen rotate
     if( !mRotationFinished || !mScreenRotationFinished )
     {
-      mWindowBase->SetEglWindowRotation( totalAngle );
       mWindowBase->SetEglWindowBufferTransform( totalAngle );
 
       // Reset only screen rotation flag