From: Heeyong Song Date: Wed, 12 Jul 2023 07:22:10 +0000 (+0900) Subject: Fix RenderOnce X-Git-Tag: dali_2.2.36~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8dc97c2cfde9ff2cbff2c21fb39773d6c265566e;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Fix RenderOnce Consider multiple windows Render windows even though there is no change in the partial update case Change-Id: I95b3475dd2455c5360514797947b04ed4acf1121 --- diff --git a/dali/internal/adaptor/common/adaptor-impl.cpp b/dali/internal/adaptor/common/adaptor-impl.cpp index 5268156..af57022 100644 --- a/dali/internal/adaptor/common/adaptor-impl.cpp +++ b/dali/internal/adaptor/common/adaptor-impl.cpp @@ -55,7 +55,6 @@ #include #include -#include #include #include #include @@ -63,6 +62,7 @@ #include #include #include +#include #include #include // For Utils::MakeUnique #include @@ -1136,6 +1136,13 @@ void Adaptor::RenderOnce() ProcessCoreEvents(); } + + // Force rendering + for(auto&& iter : mWindows) + { + iter->GetSurface()->SetFullSwapNextFrame(); + } + mThreadController->RequestUpdateOnce(updateMode); } }