From: Seoyeon Kim Date: Tue, 15 Dec 2020 05:28:42 +0000 (+0900) Subject: [Tizen] Sync for libds X-Git-Tag: accepted/tizen/unified/20201217.124303~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=14daacb0bfad74473b886ab30a3204ace2494439 [Tizen] Sync for libds This reverts commit e4cfbc629552c75605cddbf1a6713318f8e8d56f. Change-Id: I461df78ab9e3ead92df7780a76b93b1e579c9bc5 --- 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