From: Jaehyun Cho Date: Tue, 6 Sep 2022 07:21:40 +0000 (+0900) Subject: Revert "[Tizen] Do not call SetBufferDamagedRects if the damaged rect is empty" X-Git-Tag: accepted/tizen/unified/20220913.175613~2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=6a68baf5ee9dad1332eae029560005708d1be54a Revert "[Tizen] Do not call SetBufferDamagedRects if the damaged rect is empty" This reverts commit 1882df9761463981ded2b12f36ba8331990868f0. --- diff --git a/dali/internal/window-system/common/window-render-surface.cpp b/dali/internal/window-system/common/window-render-surface.cpp index 8dd26e9..22ac0f3 100644 --- a/dali/internal/window-system/common/window-render-surface.cpp +++ b/dali/internal/window-system/common/window-render-surface.cpp @@ -636,6 +636,12 @@ bool WindowRenderSurface::PreRender(bool resizingSurface, const std::vector>& da return; } - if(damagedRects.empty()) - { - // Empty damaged rect. We don't need rendering - clippingRect = Rect(); - return; - } - mGraphics->ActivateSurfaceContext(this); EGLint bufferAge = eglImpl.GetBufferAge(mEGLSurface);