From: Daekwang Ryu Date: Tue, 8 Sep 2020 04:45:55 +0000 (+0900) Subject: [Tizen] Sync for libds X-Git-Tag: accepted/tizen/unified/20200917.030643~1 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=commitdiff_plain;h=6b9c6689f08569716821b2bbdb575186043b2637 [Tizen] Sync for libds This patch will be removed when libds applies this api change. Change-Id: I83a813b353af80e5ffcaf06b2bf49ad9b59110f9 --- diff --git a/dali/devel-api/adaptor-framework/offscreen-application.cpp b/dali/devel-api/adaptor-framework/offscreen-application.cpp index 95f1843..ef444f4 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< Internal::OffscreenApplication > impl = Internal::OffscreenApplication::New( 0, 0, surface, false, renderMode ); + IntrusivePtr< Internal::OffscreenApplication > 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 cac1f64..994545c 100644 --- a/dali/devel-api/adaptor-framework/offscreen-application.h +++ b/dali/devel-api/adaptor-framework/offscreen-application.h @@ -78,7 +78,7 @@ public: * @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