[Tizen] Sync for libds
authorDaekwang Ryu <dkdk.ryu@samsung.com>
Tue, 8 Sep 2020 04:45:55 +0000 (13:45 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 16 Sep 2020 02:46:54 +0000 (11:46 +0900)
This patch will be removed when libds applies this api change.

Change-Id: I83a813b353af80e5ffcaf06b2bf49ad9b59110f9

dali/devel-api/adaptor-framework/offscreen-application.cpp
dali/devel-api/adaptor-framework/offscreen-application.h

index 95f1843..ef444f4 100644 (file)
@@ -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() );
 
index cac1f64..994545c 100644 (file)
@@ -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