[3.0] Change integration api of NativeRenderSurface 88/107188/1
authortaeyoon <taeyoon0.lee@samsung.com>
Tue, 27 Dec 2016 06:01:34 +0000 (15:01 +0900)
committertaeyoon <taeyoon0.lee@samsung.com>
Tue, 27 Dec 2016 06:03:19 +0000 (15:03 +0900)
  WaitDrawableAfterReplaceSurface to WaitUntilSurfaceReplaced

Change-Id: I64a41629721cd1edb8c4c585c9d4fbf7395a1c04

adaptors/integration-api/wayland/native-render-surface.h
adaptors/tizen/native-render-surface-tizen.cpp

index 565eec2..3b0cd42 100644 (file)
@@ -80,10 +80,10 @@ public: // API
   virtual Any GetSurface();
 
   /**
-   * @brief Waits tbm surface after replace surface
+   * @brief Waits until surface is replaced
    * After tbm surface is acquired in PostRender, this function is finished.
    */
-  void WaitDrawableAfterReplaceSurface();
+  void WaitUntilSurfaceReplaced();
 
 public: // from Dali::RenderSurface
 
index a43aa12..787507f 100644 (file)
@@ -263,7 +263,7 @@ void NativeRenderSurface::ReleaseLock()
   }
 }
 
-void NativeRenderSurface::WaitDrawableAfterReplaceSurface()
+void NativeRenderSurface::WaitUntilSurfaceReplaced()
 {
   ConditionalWait::ScopedLock lock( mImpl->mTbmSurfaceCondition );
   while( !mImpl->mDrawableCompleted )