From 8dc97c2cfde9ff2cbff2c21fb39773d6c265566e Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Wed, 12 Jul 2023 16:22:10 +0900 Subject: [PATCH] Fix RenderOnce Consider multiple windows Render windows even though there is no change in the partial update case Change-Id: I95b3475dd2455c5360514797947b04ed4acf1121 --- dali/internal/adaptor/common/adaptor-impl.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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); } } -- 2.7.4