/**
* @brief Called when GL resources are destroyed
*/
- void DestroyResource() override;
+ void DestroyResource() override
+ {
+ // TODO: Implement destroying the resource
+ }
/**
* @brief Called when initializing the resource
*/
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
* @brief Returns surface associated with the render target
*/
Surface* GetSurface() const;
+
+private:
+ struct Impl;
+ std::unique_ptr<Impl> mImpl{nullptr};
};
} // namespace Dali::Graphics::GLES