(Control base)Use RendererFactory&ControlRenderer to handle background
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / renderers / image / image-renderer.h
index fbebfc4..e3a60a0 100644 (file)
@@ -83,6 +83,7 @@ public:
   ~ImageRenderer();
 
 public:  // from ControlRenderer
+
   /**
    * @copydoc ControlRenderer::Initialize
    */
@@ -117,6 +118,13 @@ protected:
 public:
 
   /**
+   * Request the geometry and shader from the cache, if not available, create and save to the cache for sharing.
+   *
+   * @param[in] factoryCache A pointer pointing to the RendererFactoryCache object
+   */
+  void Initialize( RendererFactoryCache& factoryCache );
+
+  /**
    * @brief Sets the image of this renderer to the resource at imageUrl
    * The renderer will load the Image asynchronously when the associated actor is put on stage, and destroy the image when it is off stage
    *