From: Daekwang Ryu Date: Tue, 6 Oct 2020 03:55:26 +0000 (+0900) Subject: [Tizen] Sync for libds X-Git-Tag: accepted/tizen/6.0/unified/20201030.113443~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fc35c7403614a804536a41c80ece27de8398081;hp=aa19ec5a3944989bb2eed21eb6c316775cafd38a;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git [Tizen] Sync for libds This reverts commit 5c51f9311780b763a63cb33526c2fec71809ada0. Change-Id: Ia3928d7bd92f63af5a232ba34d234024c81c1a02 --- 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