[Tizen] Sync for libds
authorJoogab Yun <joogab.yun@samsung.com>
Tue, 1 Dec 2020 04:54:15 +0000 (13:54 +0900)
committerJoogab Yun <joogab.yun@samsung.com>
Tue, 1 Dec 2020 04:54:19 +0000 (13:54 +0900)
This reverts commit 4c63e50bd948c73a6c0aef9a8d4b125bc5ae6cc9.

Change-Id: Ic9a31bb59667866c206a8459fb7da1298ddeaeec

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

index 30d2c96..252aa80 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 d03d99b..a037b76 100644 (file)
@@ -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