[AT-SPI] Add Selection interface
[platform/core/uifw/dali-adaptor.git] / dali / integration-api / adaptor-framework / native-render-surface.h
index a42d8fc..c55be78 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_NATIVE_RENDER_SURFACE_H
 
 /*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -44,22 +44,16 @@ public:
 
 public: // API
   /**
-   * @brief Get the render surface the adaptor is using to render to.
-   * @return reference to current render surface
-   */
-  virtual Any GetDrawable() = 0;
-
-  /**
    * @brief Sets the render notification trigger to call when render thread is completed a frame
    * @param renderNotification to use
    */
   virtual void SetRenderNotification(TriggerEventInterface* renderNotification) = 0;
 
   /**
-   * @brief Waits until surface is replaced
-   * After tbm surface is acquired in PostRender, this function is finished.
+   * @brief Get the native renderable handle
+   * @return The native renderable handle
    */
-  virtual void WaitUntilSurfaceReplaced() = 0;
+  virtual Any GetNativeRenderable() = 0;
 
 private: // from NativeRenderSurface
   /**
@@ -67,11 +61,6 @@ private: // from NativeRenderSurface
    */
   virtual void CreateNativeRenderable() = 0;
 
-  /**
-   * @brief Release a drawable
-   */
-  virtual void ReleaseDrawable() = 0;
-
 protected:
   // Undefined
   NativeRenderSurface(const NativeRenderSurface&) = delete;