[Tizen] Sync for libds
authorMoonhee, Choi <mh0310.choi@samsung.com>
Tue, 19 Jan 2021 03:33:49 +0000 (12:33 +0900)
committerMoonhee, Choi <mh0310.choi@samsung.com>
Tue, 19 Jan 2021 03:33:57 +0000 (12:33 +0900)
This reverts commit def565b6db6b97a78b0f7ed4dec2aefbd1209cd0.

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 d03d99b5486f82624d0ce31e7f86f4cb5e4f2bb5..a037b76c28a5f0d0b1878b7f2cfb0fdc8b61a38f 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