[Tizen] Sync for libds
authorWonsik Jung <sidein@samsung.com>
Tue, 10 Nov 2020 06:39:42 +0000 (15:39 +0900)
committerWonsik Jung <sidein@samsung.com>
Tue, 10 Nov 2020 06:39:49 +0000 (15:39 +0900)
This reverts commit 5c5879c55783f80769ee5aaf0d9841a66ef8a0bd.

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

index 30d2c9691ead5fe4153c90614ad0bcf001dd61cb..252aa80f46ce41d1bd6d9a03216ecab1004d1070 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 3daa7359e609872b543e9e5d3c8293872f8a85f7..b549cb63efffc3edf6f96c1060811810c5bf0ee1 100644 (file)
@@ -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