From 84fdd2eca766967c7d6a0ad6869dbbf20e0782ba Mon Sep 17 00:00:00 2001 From: Heeyong Song Date: Thu, 19 Nov 2020 12:24:22 +0900 Subject: [PATCH] [Tizen] Sync for libds Change-Id: Iea75f9aae4b2fa94b8ffd93eb9071fad09b12407 --- dali/devel-api/adaptor-framework/offscreen-application.cpp | 4 ++-- dali/devel-api/adaptor-framework/offscreen-application.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dali/devel-api/adaptor-framework/offscreen-application.cpp b/dali/devel-api/adaptor-framework/offscreen-application.cpp index 30d2c96..252aa80 100644 --- a/dali/devel-api/adaptor-framework/offscreen-application.cpp +++ b/dali/devel-api/adaptor-framework/offscreen-application.cpp @@ -33,9 +33,9 @@ OffscreenApplication OffscreenApplication::New(uint16_t width, uint16_t height, return offscreenApplication; } -OffscreenApplication OffscreenApplication::New(Dali::Any surface, OffscreenApplication::RenderMode renderMode) +OffscreenApplication OffscreenApplication::New(Dali::Any surface, bool isTranslucent, OffscreenApplication::RenderMode renderMode) { - IntrusivePtr impl = Internal::OffscreenApplication::New(0, 0, surface, false, renderMode); + IntrusivePtr impl = Internal::OffscreenApplication::New(0, 0, surface, isTranslucent, renderMode); OffscreenApplication offscreenApplication = OffscreenApplication(impl.Get()); diff --git a/dali/devel-api/adaptor-framework/offscreen-application.h b/dali/devel-api/adaptor-framework/offscreen-application.h index 3daa735..b549cb6 100644 --- a/dali/devel-api/adaptor-framework/offscreen-application.h +++ b/dali/devel-api/adaptor-framework/offscreen-application.h @@ -70,9 +70,10 @@ public: * @brief This is the constructor of OffscreenApplication * * @param[in] surface The native surface handle to create the OffscreenWindow + * @param[in] isTranslucent Whether the OffscreenWindow is translucent or not * @param[in] renderMode The RenderMode of the OffscreenApplication */ - static OffscreenApplication New(Dali::Any surface, RenderMode renderMode = RenderMode::AUTO); + static OffscreenApplication New(Dali::Any surface, bool isTranslucent, RenderMode renderMode = RenderMode::AUTO); /** * @brief Constructs an empty handle -- 2.7.4