X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-factory-cache.h;h=0b77e535321d4722e2f1347a7c6410942a223da8;hp=cb1b8909612a75ee74b4ce734209b3ff73bf757e;hb=83066ea18044c04fbbf0378aa6863416c532e10b;hpb=16a4ae532b2d38157fa31a2fe21d29bfb4c7be75 diff --git a/dali-toolkit/internal/visuals/visual-factory-cache.h b/dali-toolkit/internal/visuals/visual-factory-cache.h index cb1b890..0b77e53 100644 --- a/dali-toolkit/internal/visuals/visual-factory-cache.h +++ b/dali-toolkit/internal/visuals/visual-factory-cache.h @@ -17,9 +17,6 @@ * limitations under the License. */ -// INTERNAL INCLUDES -#include "svg/svg-rasterize-thread.h" - // EXTERNAL INCLUDES #include #include @@ -29,6 +26,9 @@ #include #include +// INTERNAL INCLUDES +#include +#include namespace Dali { @@ -42,6 +42,8 @@ namespace Internal class ImageAtlasManager; typedef IntrusivePtr ImageAtlasManagerPtr; +class NPatchLoader; + /** * Caches shaders and geometries. Owned by VisualFactory. */ @@ -182,13 +184,19 @@ public: /** * Get the image atlas manager. - * @return A pointer pointing to the atlas manager + * @return A pointer to the atlas manager */ ImageAtlasManagerPtr GetAtlasManager(); /** + * Get the N-Patch texture cache. + * @return A reference to the N patch loader + */ + NPatchLoader& GetNPatchLoader(); + + /** * Get the SVG rasterization thread. - * @return A pointer pointing to the SVG rasterization thread. + * @return A raw pointer pointing to the SVG rasterization thread. */ SvgRasterizeThread* GetSVGRasterizationThread(); @@ -248,6 +256,8 @@ private: Renderer mWireframeRenderer; ImageAtlasManagerPtr mAtlasManager; + NPatchLoader mNPatchLoader; + SvgRasterizeThread* mSvgRasterizeThread; };