Merge "Users can implement focus movement by SetCustomAlgorithm." into devel/master
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / visuals / texture-manager-impl.h
index 089ae92..c9618a9 100644 (file)
@@ -403,6 +403,12 @@ public:
   TextureSet RemoveExternalTexture(const std::string& url);
 
   /**
+   * @brief Notify that external textures are used.
+   * @param[in] url The URL of the texture to use.
+   */
+  void UseExternalTexture(const VisualUrl& url);
+
+  /**
    * Add an observer to the object.
    * @param[in] observer The observer to add.
    */
@@ -850,6 +856,7 @@ private:
   {
     TextureId  textureId;
     TextureSet textureSet;
+    int16_t    referenceCount{1};
   };
 
 private: