[Tizen] Revert "[Tizen] Fix RenderTarget and RenderPass doesn't destroy issue"
[platform/core/uifw/dali-adaptor.git] / dali / internal / graphics / gles-impl / gles-graphics-render-target.h
index 2169e62..6a9fcab 100644 (file)
@@ -48,7 +48,10 @@ public:
   /**
    * @brief Called when GL resources are destroyed
    */
-  void DestroyResource() override;
+  void DestroyResource() override
+  {
+    // TODO: Implement destroying the resource
+  }
 
   /**
    * @brief Called when initializing the resource
@@ -57,14 +60,17 @@ public:
    */
   bool InitializeResource() override
   {
-    // There is no graphic resource here. return true.
-    return true;
+    // TODO: Implement initializing resource
+    return {};
   }
 
   /**
    * @brief Called when UniquePtr<> on client-side dies
    */
-  void DiscardResource() override;
+  void DiscardResource() override
+  {
+    // TODO: Implement moving to the discard queue
+  }
 
   /**
    * @brief Returns framebuffer associated with the render target
@@ -75,6 +81,10 @@ public:
    * @brief Returns surface associated with the render target
    */
   Surface* GetSurface() const;
+
+private:
+  struct Impl;
+  std::unique_ptr<Impl> mImpl{nullptr};
 };
 
 } // namespace Dali::Graphics::GLES