From 47a63cfca4b7b0902a497d3c2296ffb7aba9e209 Mon Sep 17 00:00:00 2001 From: Daekwang Ryu Date: Mon, 1 Feb 2021 14:09:31 +0900 Subject: [PATCH] [Tizen] Sync for libds This reverts commit 746da117245f27fea560fc69e26c9def7dae6b99. Change-Id: I7b65208c96de8cdea5075630828a6fc390e535ca --- 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 d03d99b..a037b76 100644 --- a/dali/devel-api/adaptor-framework/offscreen-application.h +++ b/dali/devel-api/adaptor-framework/offscreen-application.h @@ -73,9 +73,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