[Tizen] Disable PreRotation function 10/251910/1
authorWonsik Jung <sidein@samsung.com>
Thu, 21 Jan 2021 00:43:32 +0000 (09:43 +0900)
committerWonsik Jung <sidein@samsung.com>
Thu, 21 Jan 2021 00:47:06 +0000 (09:47 +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: I363870c53c1bacec85b746c19cb4e4545ef61a88

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

index 7b421e1..0be5392 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