From a1a3af69d58b67693ae80b4d6c7902dbef069ad4 Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Fri, 9 Jun 2023 18:25:31 +0900 Subject: [PATCH] Disable partial update in OffscreenApplication case Change-Id: I505f89c63f56bb49c2a246c3c12346a0e68c346a --- dali/internal/offscreen/common/offscreen-application-impl.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dali/internal/offscreen/common/offscreen-application-impl.cpp b/dali/internal/offscreen/common/offscreen-application-impl.cpp index 9510978..6e6ee05 100644 --- a/dali/internal/offscreen/common/offscreen-application-impl.cpp +++ b/dali/internal/offscreen/common/offscreen-application-impl.cpp @@ -19,11 +19,13 @@ #include // INTERNAL INCLUDES +#include #include #include #include #include #include +#include #include namespace Dali @@ -40,6 +42,9 @@ IntrusivePtr OffscreenApplication::New(uint16_t width, uin OffscreenApplication::OffscreenApplication(uint16_t width, uint16_t height, Dali::Any surface, bool isTranslucent, RenderMode renderMode) { + // Disable partial update + EnvironmentVariable::SetEnvironmentVariable(DALI_ENV_DISABLE_PARTIAL_UPDATE, "1"); + Dali::Internal::Adaptor::WindowSystem::Initialize(); // Generate a default window -- 2.7.4